@charset "UTF-8";

/* ===== shine · 暖光陪伴主题 ===== */
:root {
  --amber: #D9063B;
  --amber-deep: #9A0533;
  --amber-soft: #FEC8C7;
  --cream: #FFF1F5;
  --card: #FFFFFF;
  --ink: #3B161F;
  --muted: #7C4855;
  --line: #F1C6CC;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --shell: 1160px;
  --header-height: 76px;
  --shadow: 0 16px 34px rgba(180, 22, 60, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--cream);
  font-family: "HarmonyOS Sans SC", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.75;
}

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

a,
button {
  -webkit-tap-highlight-color: transparent;
}

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

button {
  color: inherit;
  font: inherit;
}

button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

.page-shell {
  width: min(calc(100% - 48px), var(--shell));
  margin: 0 auto;
}

/* ---- 图标 ---- */
.icon {
  display: inline-block;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  vertical-align: middle;
}

.icon::before {
  display: block;
  width: 100%;
  height: 100%;
  content: "";
  background: center / contain no-repeat;
}

.icon-download::before { background-image: url("../icons/download.svg"); }
.icon-menu::before { background-image: url("../icons/menu.svg"); }
.icon-close::before { background-image: url("../icons/close.svg"); }
.icon-plus::before { background-image: url("../icons/plus.svg"); }
.icon-globe::before { background-image: url("../icons/globe.svg"); }

/* ---- 页头 ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 10px 0;
  background: transparent;
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 48px), var(--shell));
  min-height: calc(var(--header-height) - 20px);
  margin: 0 auto;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 22px rgba(180, 22, 60, 0.08);
  backdrop-filter: blur(8px);
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-pill);
  object-fit: contain;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  padding: 0;
  margin: 0;
  gap: clamp(16px, 2.4vw, 32px);
  list-style: none;
}

.primary-nav a {
  display: inline-block;
  padding: 6px 2px;
  color: var(--muted);
  font-size: 13.5px;
  letter-spacing: 0.02em;
  transition: color 180ms ease;
}

.primary-nav a:hover {
  color: var(--amber);
}

.nav-download,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: background-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.nav-download {
  min-height: 40px;
  min-width: 126px;
  padding: 0 18px;
  color: #FFFFFF;
  background: var(--amber);
  box-shadow: 0 6px 14px rgba(217, 6, 59, 0.26);
}

.nav-download .icon,
.button-primary .icon {
  filter: brightness(0) invert(1);
}

.nav-download:hover {
  background: var(--amber-deep);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: #FFFFFF;
  cursor: pointer;
}

.menu-toggle .icon {
  width: 20px;
  height: 20px;
}

/* ---- 英雄区 ---- */
.hero {
  position: relative;
  padding: 56px 0 72px;
  overflow: hidden;
  background:
    radial-gradient(760px 420px at 92% -6%, #FDBEC4 0%, rgba(255, 251, 235, 0) 68%),
    radial-gradient(560px 380px at 0% 100%, #FEC8C7 0%, rgba(255, 251, 235, 0) 70%),
    var(--cream);
  scroll-margin-top: calc(var(--header-height) + 10px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.02fr);
  align-items: center;
  gap: clamp(30px, 4vw, 60px);
}

.hero-copy {
  max-width: 470px;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 16px;
  padding: 4px 12px;
  border: 1px solid #F3AEB5;
  border-radius: var(--radius-pill);
  color: var(--amber-deep);
  background: #FFE6E8;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.hero h1,
.section-heading h2 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.hero h1 {
  font-size: clamp(46px, 5.6vw, 70px);
  line-height: 1.02;
  overflow-wrap: anywhere;
}

.hero-title {
  margin: 16px 0 16px;
  color: var(--amber-deep);
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 600;
  line-height: 1.36;
}

.hero-summary {
  max-width: 450px;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

.button {
  min-height: 48px;
  min-width: 172px;
  padding: 0 28px;
}

.button-primary {
  color: #FFFFFF;
  background: var(--amber);
  box-shadow: 0 12px 24px rgba(217, 6, 59, 0.24);
}

.button-primary:hover {
  background: var(--amber-deep);
}

/* ---- 英雄组件：陪伴日程卡 + 语音波形 ---- */
.careDay {
  width: 100%;
  max-width: 470px;
  margin-left: auto;
  padding: 20px 20px 18px;
  border: 1px solid #F1BEC4;
  border-radius: 22px;
  background: #FFFFFF;
  box-shadow: var(--shadow);
}

.cdTop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid #F6DADF;
  gap: 10px;
}

.cdTop b {
  font-size: 16px;
  font-weight: 700;
}

.cdTop span {
  flex: none;
  color: #A9606E;
  font-size: 11.5px;
}

.cdTimeline {
  display: grid;
  padding: 12px 0 6px;
  margin: 0;
  gap: 2px;
  list-style: none;
}

.cdTimeline li {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  padding: 9px 10px;
  border-radius: var(--radius-sm);
  gap: 10px;
}

.cdTimeline time {
  color: #B96C7A;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 11.5px;
  letter-spacing: 0.04em;
}

.cdTimeline li b {
  display: block;
  font-size: 13px;
  font-weight: 600;
}

.cdTimeline li span {
  display: block;
  margin-top: 2px;
  color: #A0616D;
  font-size: 11px;
}

.cdTimeline .is-done b {
  color: #7A444E;
}

.cdTimeline .is-now {
  background: #FEE4E6;
  box-shadow: inset 3px 0 0 var(--amber);
}

.cdTimeline .is-now b {
  color: var(--amber-deep);
}

.cdTimeline .is-next {
  opacity: 0.62;
}

.cdVoice {
  padding: 13px 14px 12px;
  border-radius: 14px;
  background: linear-gradient(135deg, #3B161F 0%, #6B162B 100%);
}

.cdVoiceTop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #FFBBC4;
  font-size: 11px;
  letter-spacing: 0.04em;
}

.cdVoiceTop em {
  font-style: normal;
  color: #C97483;
  font-family: "SFMono-Regular", Consolas, monospace;
}

.wavebars {
  display: flex;
  align-items: center;
  height: 52px;
  margin: 6px 0 4px;
  gap: 3px;
}

.wavebars i {
  flex: 1 1 auto;
  min-width: 2px;
  height: 18px;
  border-radius: var(--radius-pill);
  background: linear-gradient(180deg, #FF8A9C 0%, #D9063B 100%);
  opacity: 0.85;
}

.wavebars i:nth-child(3n) { height: 30px; }
.wavebars i:nth-child(4n) { height: 40px; opacity: 1; }
.wavebars i:nth-child(5n) { height: 24px; }
.wavebars i:nth-child(7n) { height: 46px; }
.wavebars i:nth-child(2n) { height: 14px; }

.cdVoiceFoot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #B05C6C;
  font-size: 10.5px;
}

/* ---- 核心特色 ---- */
.routes {
  padding: 68px 0 72px;
  background: #FFFFFF;
  scroll-margin-top: calc(var(--header-height) + 10px);
}

.section-heading {
  max-width: 620px;
  margin-bottom: 34px;
}

.section-heading h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.26;
}

.section-heading > p:last-child {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14.5px;
}

.fours {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.four {
  min-width: 0;
  padding: 24px 24px 22px;
  border: 1px solid #F3CED3;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #FFFDF6 0%, #FFF9EC 100%);
}

.four .n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-bottom: 12px;
  border-radius: var(--radius-pill);
  color: #FFFFFF;
  background: var(--amber);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 11.5px;
}

.four h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
}

.four p {
  margin: 0;
  color: var(--muted);
  font-size: 13.8px;
  line-height: 1.86;
}

/* ---- 界面展示 ---- */
.screens {
  padding: 70px 0 76px;
  background: linear-gradient(180deg, #FFFFFF 0%, #FFDEE2 100%);
  scroll-margin-top: calc(var(--header-height) + 10px);
}

.screens .section-heading {
  max-width: none;
}

.covers {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.covers figure {
  min-width: 0;
  margin: 0;
  padding: 9px 9px 13px;
  border-radius: 18px;
  background: #FFFFFF;
  box-shadow: 0 12px 26px rgba(180, 22, 60, 0.12);
}

.covers img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top center;
  border-radius: 12px;
  background: var(--cream);
}

.covers b {
  display: block;
  margin-top: 10px;
  padding-left: 3px;
  font-size: 13.5px;
  font-weight: 600;
}

.covers small {
  display: block;
  margin-top: 2px;
  padding-left: 3px;
  color: var(--muted);
  font-size: 11px;
}

/* ---- FAQ ---- */
.faq {
  padding: 70px 0 26px;
  background: #FFFFFF;
  scroll-margin-top: calc(var(--header-height) + 10px);
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  border: 1px solid #F2D0D6;
  border-radius: var(--radius);
  background: #FFFDF8;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  padding: 0 20px;
  gap: 14px;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary h3 {
  margin: 0;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
}

.faq-item summary .icon {
  flex: none;
  width: 20px;
  height: 20px;
  padding: 3px;
  border-radius: var(--radius-pill);
  background: #FDD8DD;
  transition: transform 180ms ease;
  filter: invert(48%) sepia(72%) saturate(1444%) hue-rotate(3deg) brightness(94%) contrast(96%);
}

.faq-item[open] {
  border-color: #EBA8B2;
  background: #FFFFFF;
  box-shadow: 0 8px 20px rgba(180, 22, 60, 0.07);
}

.faq-item[open] summary .icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 20px 17px;
}

.faq-answer p {
  margin: 0;
  color: var(--muted);
  font-size: 13.8px;
  line-height: 1.88;
}

/* ---- 官方入口 ---- */
.official {
  padding: 26px 0 70px;
  background: #FFFFFF;
}

.official .section-heading {
  margin-bottom: 22px;
}

.official-fold {
  border: 1px solid #F0BDC3;
  border-radius: var(--radius);
  background: #FFF9EC;
}

.official-fold summary {
  display: flex;
  align-items: center;
  min-height: 54px;
  padding: 0 20px;
  color: var(--amber-deep);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.official-fold summary::-webkit-details-marker {
  display: none;
}

.official-fold summary::after {
  margin-left: auto;
  content: "展开";
  color: #B35B6D;
  font-size: 11.5px;
  font-weight: 400;
}

.official-fold[open] summary::after {
  content: "收起";
}

.official-link {
  padding: 4px 20px 16px;
}

.official-link p {
  margin: 0;
  padding-top: 12px;
  border-top: 1px dashed #EBB8BF;
  font-size: 13.5px;
}

.official-link a {
  color: var(--amber-deep);
  font-weight: 600;
  word-break: break-all;
}

/* ---- 用户评价 ---- */
.reviews {
  padding: 70px 0 76px;
  background: #FDE6E9;
  scroll-margin-top: calc(var(--header-height) + 10px);
}

.rgrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.review-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 190px;
  flex-direction: column;
  padding: 18px 18px 16px;
  border-radius: 18px;
  background: #FFFFFF;
  box-shadow: 0 10px 22px rgba(180, 22, 60, 0.08);
}

.review-card::after {
  position: absolute;
  bottom: -7px;
  left: 26px;
  width: 14px;
  height: 14px;
  content: "";
  background: #FFFFFF;
  transform: rotate(45deg);
}

.review-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.review-card header b {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 600;
}

.review-card header b::before {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-pill);
  content: "";
  background: var(--amber);
  opacity: 0.75;
}

.review-card time {
  flex: none;
  color: #B76F7D;
  font-size: 10.5px;
}

.review-card > p {
  margin: 11px 0 0;
  color: #5A2934;
  font-size: 13.6px;
  line-height: 1.86;
}

.rv-site {
  margin-top: auto;
  padding-top: 10px;
  color: var(--amber);
  font-size: 11px;
  word-break: break-all;
}

/* ---- 下载 ---- */
.download-cta {
  padding: 66px 0 70px;
  color: #FFDDE1;
  background:
    radial-gradient(620px 300px at 18% 0%, rgba(253, 140, 138, 0.22) 0%, rgba(59, 22, 31, 0) 70%),
    #3B161F;
  scroll-margin-top: calc(var(--header-height) + 10px);
}

.download-cta .eyebrow {
  border-color: #6B2B3A;
  color: #FF9AAC;
  background: rgba(255, 154, 172, 0.08);
}

.download-cta h2 {
  color: #FFF9EC;
}

.download-cta .section-heading > p:last-child {
  color: #D9A3AC;
}

.download-cta .button-primary {
  color: #3B161F;
  background: #FF9AAC;
  box-shadow: none;
}

.download-cta .button-primary .icon {
  filter: invert(17%) sepia(20%) saturate(1400%) hue-rotate(3deg) brightness(94%) contrast(92%);
}

.download-cta .button-primary:hover {
  background: #FFBFC7;
}

.disclaimer {
  margin: 18px 0 0;
  color: #B77C88;
  font-size: 12px;
}

/* ---- 页脚 ---- */
.site-footer {
  padding: 32px 0 22px;
  color: #A9606E;
  background: #2A0C14;
  font-size: 12px;
}

.site-footer .page-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: #E8B2BB;
}

.site-footer a:hover {
  color: #FFFFFF;
}

/* ---- 返回顶部 ---- */
.to-top {
  position: fixed;
  right: 24px;
  bottom: 148px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--amber);
  box-shadow: 0 10px 22px rgba(180, 22, 60, 0.3);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 200ms ease, transform 200ms ease, visibility 200ms ease;
}

.to-top::before {
  width: 8px;
  height: 8px;
  border-top: 2px solid #FFFFFF;
  border-left: 2px solid #FFFFFF;
  content: "";
  transform: rotate(45deg) translate(1px, 1px);
}

.to-top.is-show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

.to-top:hover {
  background: var(--amber-deep);
}

/* ---- 响应式 ---- */
@media (max-width: 1024px) {
  .fours {
    gap: 14px;
  }

  .rgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .hero-copy {
    max-width: 620px;
  }

  .careDay {
    max-width: 100%;
    margin: 0;
  }

  .covers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  :root {
    --header-height: 66px;
  }

  body {
    padding-top: calc(var(--header-height) + 8px);
  }

  .site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    padding: 8px 0;
    background: var(--cream);
  }

  .page-shell {
    width: min(calc(100% - 32px), var(--shell));
  }

  .nav-shell {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    grid-template-rows: calc(var(--header-height) - 12px);
    width: min(calc(100% - 24px), var(--shell));
    min-height: 0;
    padding: 0 12px;
    gap: 8px;
  }

  .brand {
    grid-row: 1;
    grid-column: 1;
    gap: 7px;
    font-size: 17px;
  }

  .brand img {
    width: 28px;
    height: 28px;
  }

  .primary-nav {
    display: none;
    grid-row: 2;
    grid-column: 1 / -1;
    margin: 0 -12px;
    padding: 0 12px 12px;
  }

  .primary-nav.is-open {
    display: block;
  }

  .primary-nav ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding-top: 10px;
  }

  .primary-nav a {
    display: block;
    padding: 9px 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: #FFFFFF;
    font-size: 13px;
  }

  .nav-download {
    grid-row: 1;
    grid-column: 3;
    min-width: auto;
    min-height: 34px;
    margin-left: auto;
    padding: 0 12px;
    font-size: 12px;
  }

  .nav-download .icon {
    width: 14px;
    height: 14px;
  }

  .menu-toggle {
    display: inline-flex;
    grid-row: 1;
    grid-column: 4;
    width: 34px;
    height: 34px;
  }

  .hero {
    padding: 34px 0 44px;
  }

  .hero h1 {
    font-size: 44px;
  }

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

  .hero-summary {
    font-size: 14px;
  }

  .careDay {
    padding: 16px 14px 14px;
    border-radius: 18px;
  }

  .wavebars {
    height: 44px;
  }

  .routes,
  .screens,
  .reviews,
  .download-cta {
    padding: 46px 0;
  }

  .faq {
    padding: 46px 0 18px;
  }

  .official {
    padding: 18px 0 46px;
  }

  .section-heading {
    margin-bottom: 24px;
  }

  .section-heading h2 {
    font-size: 26px;
  }

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

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

  .review-card {
    min-height: auto;
  }

  .site-footer .page-shell {
    display: block;
    text-align: center;
  }

  .site-footer p + p {
    margin-top: 6px;
  }

  .to-top {
    right: 16px;
    bottom: 132px;
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 380px) {
  .brand span {
    font-size: 15px;
  }

  .nav-download span {
    display: none;
  }

  .nav-download {
    width: 34px;
    padding: 0;
  }

  .hero h1 {
    font-size: 38px;
  }

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

  .primary-nav ul {
    grid-template-columns: 1fr;
  }
}
