/* 月季官网的样式：简体 / 繁体 / 英文三个页面共用（backend/site/index*.html、en.html） */
:root {
  --rose: #D9466F; --rose-ink: #B8285A; --rose-wash: #FFE4EE; --rose-soft: #FFF0F5; --page: #FFF8FA;
  --violet: #9A4FD1; --violet-wash: #F4E9FF; --orchid: #B8479C; --orchid-wash: #FBE5F4; --coral: #D9534F; --coral-wash: #FFE9E6;
  --iris: #5F6DD6; --iris-wash: #EAEEFF;
  --text: #2A1820; --muted: #75606A; --line: #F3DCE5; --card: #FFFFFF; --shadow: 0 18px 50px rgba(184, 40, 90, .12);
}
@media (prefers-color-scheme: dark) {
  :root {
    --rose-ink: #FF9FBE; --rose-wash: #471A2C; --rose-soft: #2A1219; --page: #12090D;
    --violet-wash: #33204A; --orchid-wash: #421A3A; --coral-wash: #4A1D1F; --iris-wash: #20284A;
    --text: #F8EAF0; --muted: #C2A9B4; --line: #3A2029; --card: #1E1015; --shadow: 0 18px 50px rgba(0, 0, 0, .45);
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--page); color: var(--text);
  font: 16px/1.7 -apple-system, BlinkMacSystemFont, "PingFang SC", "HarmonyOS Sans SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
}
html:lang(zh-Hant) body { font-family: -apple-system, BlinkMacSystemFont, "PingFang TC", "PingFang HK", "Microsoft JhengHei", "Noto Sans CJK TC", sans-serif; }
html:lang(en) body, html:lang(es) body, html:lang(fr) body, html:lang(de) body, html:lang(pt) body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
html:lang(ja) body { font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", Meiryo, "Noto Sans JP", sans-serif; }
html:lang(ko) body { font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif; word-break: keep-all; }
a { color: var(--rose-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
img { display: block; max-width: 100%; height: auto; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* 导航 */
header.nav { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--page) 88%, transparent); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--line); }
header.nav .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 19px; }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand small { font-weight: 500; color: var(--muted); font-size: 13px; }
.nav-links { margin-left: auto; display: flex; gap: 22px; font-size: 15px; }
/* 语言菜单（scripts/site/build.py 生成，不用脚本：<details> 自己会开合） */
.langmenu { position: relative; flex: none; font-size: 14px; }
.langmenu summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--text); }
.langmenu summary::-webkit-details-marker { display: none; }
.langmenu summary svg { width: 16px; height: 16px; color: var(--rose); }
.langmenu nav { position: absolute; right: 0; top: calc(100% + 8px); min-width: 160px; display: flex; flex-direction: column; padding: 6px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); z-index: 20; }
.langmenu nav a { padding: 8px 12px; border-radius: 10px; color: var(--text); }
.langmenu nav a:hover { background: var(--rose-soft); text-decoration: none; }
.langmenu nav a[aria-current="page"] { background: var(--rose-wash); color: var(--rose-ink); font-weight: 600; }
.nav-links a { color: var(--muted); }
.nav-links a:hover { color: var(--rose-ink); text-decoration: none; }

/* 首屏 */
.hero { padding: 72px 0 56px; background: radial-gradient(1000px 520px at 85% 0%, var(--rose-wash), transparent 70%), radial-gradient(700px 420px at 0% 30%, var(--violet-wash), transparent 70%); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; padding: 4px 14px; border-radius: 999px; background: var(--rose-wash); color: var(--rose-ink); font-size: 14px; font-weight: 600; }
.hero h1 { margin: 18px 0 8px; font-size: 56px; line-height: 1.15; letter-spacing: .02em; }
.hero h1 span { color: var(--rose); }
.hero .slogan { font-size: 24px; color: var(--rose-ink); font-weight: 600; margin: 0 0 16px; }
.hero p.lead { font-size: 18px; color: var(--muted); margin: 0 0 26px; max-width: 34em; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.chip { padding: 6px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 14px; }
.chip b { color: var(--rose); }
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store { display: flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 14px; background: var(--rose); color: #fff; min-width: 176px; }
.store:hover { text-decoration: none; }
.store svg { width: 24px; height: 24px; flex: none; }
.store span { display: flex; flex-direction: column; line-height: 1.25; }
.store small { font-size: 11px; opacity: .8; }
.store strong { font-size: 15px; }
.store.soon { background: var(--rose-wash); color: var(--rose-ink); cursor: default; }
.store.dark { background: var(--text); color: var(--page); }
.phones { position: relative; height: 560px; }
.phone { position: absolute; width: 250px; border-radius: 36px; overflow: hidden; border: 8px solid var(--card); box-shadow: var(--shadow); background: var(--card); }
.phone img { width: 100%; }
.phones .p1 { left: 8%; top: 0; transform: rotate(-4deg); z-index: 2; }
.phones .p2 { right: 2%; top: 60px; transform: rotate(5deg); }

/* 通用段落 */
section { padding: 80px 0; }
section.alt { background: var(--rose-soft); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head h2 { font-size: 36px; margin: 0 0 10px; line-height: 1.3; }
.section-head p { color: var(--muted); margin: 0; font-size: 17px; }

/* 产品展示 */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-bottom: 88px; }
.feature:last-child { margin-bottom: 0; }
.feature.flip .shot { order: 2; }
.feature .shot { display: flex; justify-content: center; }
.feature .shot .phone { position: static; width: 270px; transform: none; }
.feature .tag { display: inline-block; font-size: 13px; font-weight: 700; padding: 3px 12px; border-radius: 999px; margin-bottom: 12px; }
.feature h3 { font-size: 30px; margin: 0 0 14px; line-height: 1.35; }
.feature p { color: var(--muted); margin: 0 0 14px; }
.feature ul { margin: 0; padding: 0; list-style: none; }
.feature li { position: relative; padding-left: 22px; margin: 8px 0; }
.feature li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: .55; }
.t-rose { background: var(--rose-wash); color: var(--rose-ink); }
.t-violet { background: var(--violet-wash); color: var(--violet); }
.t-orchid { background: var(--orchid-wash); color: var(--orchid); }
.t-iris { background: var(--iris-wash); color: var(--iris); }
.t-coral { background: var(--coral-wash); color: var(--coral); }

/* 四个模式 */
.modes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.mode { border-radius: 22px; padding: 24px 22px; background: var(--card); border: 1px solid var(--line); }
.mode h4, .mode .h4 { margin: 0 0 6px; font-size: 21px; }
.mode p { margin: 0; color: var(--muted); font-size: 15px; }
.mode .dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; margin-right: 8px; vertical-align: 2px; }
.mode-shots { display: flex; justify-content: center; gap: 28px; margin-top: 44px; flex-wrap: wrap; }
.mode-shots figure { margin: 0; text-align: center; }
.mode-shots .phone { position: static; width: 220px; transform: none; }
.mode-shots figcaption { margin-top: 12px; color: var(--muted); font-size: 14px; }

/* 更多功能 */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cell { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.cell svg { width: 30px; height: 30px; color: var(--rose); margin-bottom: 10px; }
.cell h4, .cell .h4 { margin: 0 0 6px; font-size: 18px; }
.cell p { margin: 0; color: var(--muted); font-size: 15px; }

/* 隐私 */
.privacy { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.privacy .cell { display: flex; gap: 16px; align-items: flex-start; }
.privacy .cell svg { flex: none; margin: 2px 0 0; }

/* 会员 */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 28px 26px; display: flex; flex-direction: column; }
.plan.hot { border: 2px solid var(--rose); box-shadow: var(--shadow); }
.plan h4, .plan .h4 { margin: 0; font-size: 21px; }
.plan .price { font-size: 30px; font-weight: 700; margin: 10px 0 2px; color: var(--rose-ink); }
.plan .price small { font-size: 15px; font-weight: 500; color: var(--muted); }
.plan .sub { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.plan ul { margin: 0; padding-left: 20px; color: var(--text); font-size: 15px; }
.plan li { margin: 6px 0; }
.note { text-align: center; color: var(--muted); font-size: 14px; margin-top: 22px; }

/* 下载 + 联系 */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 30px; }
.panel h3 { margin: 0 0 14px; font-size: 24px; }
.panel dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; }
.panel dt { color: var(--muted); }
.panel dd { margin: 0; }
.panel .stores { margin-top: 6px; }
.panel .platforms { color: var(--muted); font-size: 15px; margin: 0 0 18px; }

/* 常见问题 */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 0 22px; margin-bottom: 12px; }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 600; font-size: 17px; list-style: none; position: relative; padding-right: 28px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 22px; color: var(--rose); font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 18px; color: var(--muted); }

/* 页脚 */
footer { border-top: 1px solid var(--line); padding: 40px 0 48px; font-size: 14px; color: var(--muted); }
footer .links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 18px; }
footer .links a { color: var(--text); }
footer p { margin: 6px 0; }
footer .beian a { color: var(--muted); }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .langmenu { margin-left: auto; }
  .hero { padding: 44px 0 36px; }
  .hero .wrap, .feature, .two { grid-template-columns: 1fr; gap: 32px; }
  .hero h1 { font-size: 42px; }
  .phones { height: 430px; }
  .phone { width: 190px; border-radius: 28px; border-width: 6px; }
  .phones .p1 { left: 4%; }
  .feature.flip .shot { order: 0; }
  .feature { margin-bottom: 64px; }
  .modes { grid-template-columns: repeat(2, 1fr); }
  .grid, .plans { grid-template-columns: 1fr 1fr; }
  section { padding: 60px 0; }
  .section-head h2 { font-size: 28px; }
  .feature h3 { font-size: 25px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .brand small { display: none; }
  .modes, .grid, .plans, .privacy { grid-template-columns: 1fr; }
  .mode-shots .phone { width: 160px; }
  .feature .shot .phone { width: 230px; }
  .store { min-width: 0; flex: 1 1 150px; }
  .panel { padding: 24px 20px; }
}
