/* 亲享月记官网 —— 纯静态样式，不依赖任何外部字体、CDN 或脚本 */
:root {
  --brand: #9360F7;
  --brand-deep: #6E3FD0;
  --brand-soft: #F3EDFF;
  --ink: #2B2340;
  --muted: #6F6885;
  --bg: #FBF9FE;
  --card: #FFFFFF;
  --line: #EDE7F7;
  --radius-lg: 24px;
  --radius-md: 16px;
  --max: 1120px;
  --shadow: 0 18px 50px rgba(90, 50, 170, .10);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--brand-deep); }
a:hover { color: var(--brand); }

:focus-visible {
  outline: 3px solid rgba(147, 96, 247, .45);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: min(100% - 48px, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: #fff;
}
.skip-link:focus { left: 16px; }

/* ---------------------------------------------------------------- 顶部导航 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 249, 254, .86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: .01em;
  text-decoration: none;
}
.brand:hover { color: var(--ink); }

.brand__mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: linear-gradient(135deg, #B78BFF, #8548EE);
  color: #fff;
  box-shadow: 0 6px 16px rgba(133, 72, 238, .35);
}

.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--muted); font-size: 15px; text-decoration: none; }
.nav a:hover { color: var(--brand-deep); }

.nav .nav__cta {
  padding: 9px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #A87BFF, #7B45E8);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(123, 69, 232, .28);
}
.nav .nav__cta:hover { color: #fff; filter: brightness(1.03); }

/* ---------------------------------------------------------------- 首屏 */
.hero {
  position: relative;
  overflow: hidden;
  padding: 78px 0 54px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 640px;
  background:
    radial-gradient(600px 320px at 20% 20%, rgba(147, 96, 247, .16), transparent 70%),
    radial-gradient(520px 300px at 85% 0%, rgba(255, 178, 214, .22), transparent 70%);
  pointer-events: none;
}
.hero .container { position: relative; }

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
}

h1 {
  margin: 18px 0;
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -.02em;
}
h1 .accent {
  background: linear-gradient(120deg, #8A52F2, #E86FB4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  max-width: 34em;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, #A87BFF, #7B45E8);
  box-shadow: 0 14px 30px rgba(123, 69, 232, .30);
}
.btn--primary:hover { color: #fff; }

.btn--ghost {
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 6px 18px rgba(90, 50, 170, .06);
}

.hero__note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 13px;
}

/* ---------------------------------------------------------------- 手机预览 */
.phone {
  width: 300px;
  margin: 0 auto;
  padding: 12px;
  border-radius: 46px;
  background: linear-gradient(160deg, #2B2140, #1C1529);
  box-shadow:
    0 40px 80px rgba(70, 35, 150, .28),
    inset 0 0 0 1px rgba(255, 255, 255, .12);
}

.phone__screen {
  position: relative;
  min-height: 560px;
  padding: 46px 20px 22px;
  border-radius: 36px;
  background: linear-gradient(180deg, #FEFCFF 0%, #F6F0FF 100%);
  overflow: hidden;
}

.phone__island {
  position: absolute;
  top: 12px;
  left: 50%;
  width: 76px;
  height: 21px;
  border-radius: 999px;
  background: #1C1529;
  transform: translateX(-50%);
}

.mock-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
  font-weight: 700;
}

.mock-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #D9C6FF, #B08CFF);
}

.mock-day { margin-top: 22px; color: var(--muted); font-size: 13px; }
.mock-day strong {
  color: var(--brand-deep);
  font-size: 30px;
  letter-spacing: -.02em;
}

.mock-ring {
  position: relative;
  width: 190px;
  height: 190px;
  margin: 14px auto 6px;
}
.mock-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: #EFE7FD; stroke-width: 12; }
.ring-fg {
  fill: none;
  stroke: #9A63F6;
  stroke-width: 12;
  stroke-linecap: round;
  stroke-dasharray: 300 503;
}

.mock-ring__label {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
}
.mock-ring__label strong {
  display: block;
  font-size: 26px;
  letter-spacing: -.02em;
}
.mock-ring__label small { color: var(--muted); font-size: 12px; }

.mock-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 16px;
}
.mock-card {
  padding: 10px 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  text-align: center;
}
.mock-card small { display: block; color: var(--muted); font-size: 11px; }
.mock-card strong { font-size: 15px; }

.mock-banner {
  margin-top: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, #F3EBFF, #FDEFF7);
  color: var(--muted);
  font-size: 12px;
}
.mock-banner strong { color: var(--ink); }

.mock-bars { display: grid; gap: 10px; margin-top: 14px; }
.mock-bar { height: 10px; border-radius: 999px; background: #EDE5FB; }
.mock-bar.short { width: 62%; }

/* ---------------------------------------------------------------- 通用区块 */
.section { padding: 68px 0; }

.section__head { max-width: 640px; margin-bottom: 36px; }
.section__head h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 3.6vw, 36px);
  line-height: 1.25;
  letter-spacing: -.01em;
}
.section__head p { margin: 0; color: var(--muted); }

/* ---------------------------------------------------------------- 功能卡片 */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature {
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: 0 10px 30px rgba(90, 50, 170, .05);
}

.feature__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand-deep);
}

.feature h3 { margin: 0 0 8px; font-size: 17px; }
.feature p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ---------------------------------------------------------------- 产品介绍 */
.about {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 36px;
  align-items: start;
}
.about p { color: var(--muted); }
.about p:first-of-type { margin-top: 0; }

.checklist {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.checklist li { position: relative; padding-left: 30px; }
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  margin-top: .28em;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-size: 12px;
  font-weight: 700;
}

.notice {
  margin-top: 32px;
  padding: 18px 22px;
  border: 1px solid #F2DFC0;
  border-radius: var(--radius-md);
  background: #FFF8EC;
  color: #7A5520;
  font-size: 14px;
}
.notice strong { color: #5E3F12; }

/* ---------------------------------------------------------------- 支持 */
.support {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 32px;
  align-items: center;
  padding: 40px;
  border: 1px solid #EFE6FB;
  border-radius: 28px;
  background: linear-gradient(135deg, #F5EFFF, #FDF2F8);
}
.support h2 { margin: 0 0 10px; font-size: clamp(24px, 3vw, 32px); }
.support p { margin: 0; color: var(--muted); }

.contact-card {
  display: grid;
  gap: 14px;
  padding: 20px 24px;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow);
}
.contact-row { display: flex; align-items: baseline; gap: 12px; font-size: 14.5px; }
.contact-row span:first-child { min-width: 68px; color: var(--muted); }
.contact-row a { text-decoration: none; }

/* ---------------------------------------------------------------- 页脚 */
.site-footer {
  margin-top: 24px;
  padding: 36px 0 44px;
  border-top: 1px solid var(--line);
  background: #fff;
}
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  color: var(--muted);
  font-size: 13.5px;
}
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--brand-deep); }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }

/* ---------------------------------------------------------------- 法务文档页 */
.doc {
  max-width: 820px;
  margin: 0 auto;
  padding: 56px 0 88px;
}
.doc__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 22px;
  font-size: 14px;
  text-decoration: none;
}
.doc h1 {
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 38px);
  letter-spacing: -.01em;
}
.doc__meta { margin: 0 0 34px; color: var(--muted); font-size: 14px; }
.doc h2 { margin: 40px 0 12px; font-size: 20px; }
.doc h3 { margin: 24px 0 8px; font-size: 16px; }
.doc p, .doc li { color: #3A3251; }
.doc ul { padding-left: 1.3em; }
.doc li { margin: 6px 0; }

.doc .callout {
  padding: 16px 20px;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand-deep);
}

/* ---------------------------------------------------------------- 响应式 */
@media (max-width: 960px) {
  .hero { padding-top: 48px; }
  .hero__grid { grid-template-columns: 1fr; gap: 44px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .about, .support { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 32px, var(--max)); }
  .nav { gap: 16px; }
  .nav a:not(.nav__cta) { display: none; }
  .features { grid-template-columns: 1fr; }
  .support { padding: 28px 22px; }
  .phone { width: 280px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
