﻿/* 菠萝TV · boluoapp.com.cn — 浅色清爽产品页 */

:root {
  --sand: #fdf8ee;
  --sand-2: #f6edda;
  --ink: #211d15;
  --gray: #6f6759;
  --line: #e8ddc8;
  --card: #ffffff;
  --pine: #f2a007;
  --pine-soft: #fff2d6;
  --leaf: #2f8f4e;
  --leaf-soft: #e8f6ec;
  --shell: 1100px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, p, figure, blockquote { margin: 0; }

.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- 顶部 ---------- */

.site-head {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(253, 248, 238, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.head-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.3px;
}

.logo img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
}

.menu {
  display: flex;
  gap: 24px;
  margin-left: auto;
  font-size: 14px;
  color: var(--gray);
}

.menu a:hover { color: var(--ink); }

.head-btn {
  align-items: center;
  height: 38px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff8e8;
  font-size: 14px;
  font-weight: 600;
}

.head-btn:not([hidden]) { display: inline-flex; }

/* ---------- 首屏 ---------- */

.intro {
  padding: 72px 0 40px;
  background:
    radial-gradient(680px 340px at 50% -5%, #ffe7b8, transparent 72%),
    var(--sand);
  text-align: center;
  overflow: hidden;
}

.tagline {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 2.4px;
  color: var(--leaf);
  background: var(--leaf-soft);
  border-radius: 999px;
  padding: 6px 16px;
}

.intro h1 {
  margin-top: 22px;
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.12;
  letter-spacing: -1.4px;
}

.intro h1 span {
  display: block;
  margin-top: 12px;
  font-size: clamp(19px, 2.4vw, 26px);
  font-weight: 500;
  letter-spacing: 3px;
  color: var(--gray);
}

.intro-lead {
  margin: 22px auto 0;
  max-width: 560px;
  color: var(--gray);
  font-size: 16px;
}

.intro-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.btn-fill {
  align-items: center;
  height: 52px;
  padding: 0 32px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--pine), #e08c00);
  color: #2a1a00;
  font-weight: 700;
  box-shadow: 0 16px 30px rgba(242, 160, 7, 0.24);
  transition: transform 0.2s;
}

.btn-fill:not([hidden]) { display: inline-flex; }

.btn-fill:hover { transform: translateY(-2px); }

.btn-line {
  align-items: center;
  height: 52px;
  padding: 0 30px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  font-weight: 700;
  transition: background 0.2s, color 0.2s;
}

.btn-line:not([hidden]) { display: inline-flex; }

.btn-line:hover { background: var(--ink); color: #fff8e8; }

.intro-note {
  margin-top: 16px;
  font-size: 12.5px;
  color: #9a9182;
}

/* 三机展示 */

.rack {
  position: relative;
  height: 520px;
  margin-top: 54px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.rack-item {
  position: absolute;
  width: 214px;
  border-radius: 28px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 30px 60px rgba(84, 64, 22, 0.18);
}

.rack-item img { aspect-ratio: 9 / 16; object-fit: cover; }

.rack-front {
  z-index: 3;
  width: 252px;
  transform: translateY(-6px);
}

.rack-mid {
  z-index: 2;
  transform: translate(148px, 44px) rotate(5deg);
}

.rack-back {
  z-index: 1;
  transform: translate(-148px, 44px) rotate(-5deg);
}

/* ---------- 区块标题 ---------- */

.block-head {
  max-width: 640px;
  margin-bottom: 36px;
}

.block-head h2 {
  font-size: clamp(26px, 3.4vw, 38px);
  letter-spacing: -0.8px;
  line-height: 1.25;
}

.block-head p {
  margin-top: 12px;
  color: var(--gray);
}

/* ---------- 上手感受 ---------- */

.feel {
  padding: 96px 0 20px;
}

.feel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.feel-card {
  padding: 34px 32px;
  border-radius: 24px;
  background: var(--card);
  border: 1px solid var(--line);
  transition: transform 0.22s, box-shadow 0.22s;
}

.feel-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px rgba(84, 64, 22, 0.1);
}

.feel-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--pine-soft);
  color: #a86c00;
  font-size: 12px;
  letter-spacing: 1px;
  font-weight: 700;
}

.feel-card:nth-child(even) .feel-mark {
  background: var(--leaf-soft);
  color: var(--leaf);
}

.feel-card h3 {
  margin-top: 18px;
  font-size: 21px;
  letter-spacing: -0.2px;
}

.feel-card p {
  margin-top: 10px;
  color: var(--gray);
  font-size: 15px;
}

/* ---------- 界面巡览 ---------- */

.tour {
  padding: 88px 0 92px;
}

.tour-track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  padding: 6px max(24px, calc((100% - var(--shell)) / 2 + 24px)) 18px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.tour-card {
  flex: 0 0 auto;
  width: 236px;
  scroll-snap-align: center;
}

.tour-card img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(84, 64, 22, 0.14);
}

.tour-card figcaption {
  display: flex;
  flex-direction: column;
  padding: 14px 6px 0;
}

.tour-card figcaption strong { font-size: 16px; }

.tour-card figcaption span {
  font-size: 13px;
  color: var(--gray);
}

/* ---------- 用户评价 ---------- */

.voices {
  padding: 88px 0;
  background: linear-gradient(180deg, #f7efdd, #fdf8ee);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.voice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.voice {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  padding: 28px 26px;
  background: var(--card);
  border-radius: 22px;
  border: 1px solid var(--line);
}

.voice > p {
  font-size: 15.5px;
  line-height: 1.85;
}

.voice > p::before {
  content: "“";
  display: block;
  font-size: 40px;
  line-height: 0.7;
  color: var(--pine);
  font-family: Georgia, serif;
  margin-bottom: 10px;
}

.voice footer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--pine-soft);
  color: #9a6200;
  font-size: 15px;
  font-weight: 700;
}

.who {
  display: flex;
  flex-direction: column;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.who em {
  font-style: normal;
  font-size: 12px;
  font-weight: 400;
  color: #9a9182;
}

/* ---------- 疑问 ---------- */

.ask {
  padding: 88px 0 40px;
}

.ask-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
}

.qa {
  padding: 4px 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  align-self: start;
}

.qa summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 0;
  font-size: 16px;
  font-weight: 600;
}

.qa summary::-webkit-details-marker { display: none; }

.qa summary::after {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--pine);
  border-bottom: 2px solid var(--pine);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.25s;
}

.qa[open] summary::after {
  transform: rotate(-135deg) translateY(-2px);
}

.qa p {
  padding-bottom: 20px;
  color: var(--gray);
  font-size: 14.5px;
}

/* ---------- 下载 ---------- */

.download {
  padding: 60px 0 96px;
}

.dl-card {
  padding: 44px 42px;
  border-radius: 28px;
  background:
    radial-gradient(520px 260px at 88% 0%, #ffe2a6, transparent 70%),
    #fffdf8;
  border: 1px solid var(--line);
  box-shadow: 0 26px 60px rgba(84, 64, 22, 0.1);
}

.dl-copy h2 {
  font-size: clamp(26px, 3.2vw, 36px);
  letter-spacing: -0.8px;
}

.dl-copy p {
  margin-top: 8px;
  color: var(--gray);
}

.dl-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.dl-chip {
  align-items: center;
  gap: 14px;
  min-width: 240px;
  flex: 1 1 240px;
  padding: 16px 20px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.dl-chip:not([hidden]) { display: flex; }

.dl-chip:hover {
  border-color: var(--pine);
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(84, 64, 22, 0.12);
}

.dl-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 13px;
  background: var(--pine-soft);
  font-size: 20px;
}

.dl-chip > span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.45;
}

.dl-chip strong { font-size: 15.5px; }

.dl-chip em {
  font-style: normal;
  font-size: 12.5px;
  color: #9a9182;
}

/* ---------- 页脚 ---------- */

.site-foot {
  padding: 40px 0 44px;
  border-top: 1px solid var(--line);
  background: var(--sand-2);
}

.foot-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.foot-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.foot-brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  object-fit: cover;
}

.foot-brand span {
  display: flex;
  flex-direction: column;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}

.foot-brand em {
  font-style: normal;
  font-size: 11px;
  font-weight: 400;
  color: #9a9182;
  letter-spacing: 0.5px;
}

.foot-menu {
  display: flex;
  gap: 20px;
  font-size: 13.5px;
  color: var(--gray);
}

.foot-menu a:hover { color: var(--ink); }

.foot-note {
  width: 100%;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: #9a9182;
}

/* ---------- 滚动出现 ---------- */

.rise {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.rise.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- 响应式 ---------- */

@media (max-width: 980px) {
  .menu { display: none; }
  .head-btn { margin-left: auto; }
  .rack { height: 440px; }
  .rack-item { width: 178px; }
  .rack-front { width: 214px; }
  .rack-mid { transform: translate(118px, 36px) rotate(5deg); }
  .rack-back { transform: translate(-118px, 36px) rotate(-5deg); }
  .voice-grid { grid-template-columns: 1fr; }
  .ask-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .shell { padding: 0 18px; }
  .intro { padding: 50px 0 24px; }
  .rack { height: 380px; margin-top: 38px; }
  .rack-item { width: 146px; border-radius: 22px; }
  .rack-front { width: 180px; }
  .rack-mid { transform: translate(72px, 26px) rotate(4deg); }
  .rack-back { transform: translate(-72px, 26px) rotate(-4deg); }
  .feel-grid { grid-template-columns: 1fr; }
  .feel { padding: 70px 0 10px; }
  .tour { padding: 66px 0 70px; }
  .tour-card { width: 200px; }
  .dl-card { padding: 30px 22px; border-radius: 22px; }
  .dl-chip { min-width: 100%; }
  .foot-inner { flex-direction: column; align-items: flex-start; }
  .foot-menu { flex-wrap: wrap; gap: 14px; }
}

/* ---------- 404 ---------- */

.lost {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px;
  background:
    radial-gradient(620px 320px at 50% 0%, #ffe7b8, transparent 72%),
    var(--sand);
}

.lost-inner { max-width: 440px; }

.lost-code {
  font-size: 13px;
  letter-spacing: 6px;
  color: var(--pine);
  font-weight: 700;
}

.lost h1 {
  margin-top: 18px;
  font-size: clamp(27px, 5vw, 38px);
  line-height: 1.3;
  letter-spacing: -0.6px;
}

.lost p {
  margin-top: 14px;
  color: var(--gray);
}

.lost .btn-fill { margin-top: 32px; }
