/* ============ 营销首页（landing）样式 · 古风紫主题 ============ */
:root {
  --purple: #7c5cbf;
  --purple-dark: #5e3fa3;
  --purple-deep: #3a2a63;
  --purple-light: #b39ddb;
  --purple-bg: #f6f2fc;
  --ink: #3d3450;
  --ink-light: #8a829e;
  --gold: #c9a86a;
  --gold-dark: #a8873f;
  --card-bg: #fffdf8;
  --border: #e3dcf0;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  color: var(--ink); background: #fff; font-size: 15px; line-height: 1.7;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ---------- 顶部导航 ---------- */
#lnav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.lnav-inner {
  max-width: 1120px; margin: 0 auto; padding: 13px 20px;
  display: flex; align-items: center; gap: 24px;
}
.brand { font-size: 18px; font-weight: 800; color: var(--purple-dark); }
.lnav-links { display: flex; gap: 22px; margin-left: auto; }
.lnav-links a { color: var(--ink-light); font-size: 14px; transition: color .15s; }
.lnav-links a:hover { color: var(--purple-dark); }
.lnav-cta { display: flex; gap: 10px; margin-left: 8px; }
.btn-ghost, .btn-gold, .btn-primary, .btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border-radius: 10px; font-size: 14px; font-weight: 600; cursor: pointer;
  padding: 9px 18px; transition: all .18s; border: none; font-family: inherit;
}
.btn-ghost { background: transparent; color: var(--purple-dark); border: 1px solid var(--purple-light); }
.btn-ghost:hover { background: var(--purple-bg); }
.btn-gold {
  background: linear-gradient(135deg, #d9bc82, var(--gold) 55%, var(--gold-dark));
  color: #fff; box-shadow: 0 4px 14px rgba(201, 168, 106, .45);
}
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(201, 168, 106, .55); }

/* ---------- 首屏 ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(140deg, #2c1f4d 0%, var(--purple-deep) 30%, var(--purple-dark) 62%, #7a5ec0 100%);
}
.hero-glow {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; pointer-events: none;
}
.hero-glow.g1 { width: 480px; height: 480px; background: #9d7fe8; top: -140px; right: -80px; }
.hero-glow.g2 { width: 380px; height: 380px; background: #c9a86a55; bottom: -160px; left: -100px; }
.hero-inner {
  position: relative; max-width: 1120px; margin: 0 auto; padding: 72px 20px 84px;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center;
}
.hero-badge {
  display: inline-block; font-size: 13px; padding: 6px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25);
  margin-bottom: 22px; color: #efe9ff;
}
.hero h1 { font-size: 46px; line-height: 1.25; font-weight: 800; letter-spacing: 1px; }
.hero h1 .grad {
  background: linear-gradient(90deg, #f2d9a4, #e4bd7c 40%, #ffd98e);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { margin: 20px 0 30px; color: #d9cfee; font-size: 16px; max-width: 540px; }
.hero-sub b { color: #ffe9bf; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  background: linear-gradient(135deg, #d9bc82, var(--gold) 55%, var(--gold-dark));
  color: #fff; font-size: 16px; padding: 13px 28px;
  box-shadow: 0 8px 24px rgba(201, 168, 106, .5);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(201, 168, 106, .6); }
.btn-primary.big { font-size: 17px; padding: 15px 40px; }
.btn-outline {
  background: rgba(255, 255, 255, .08); color: #efe9ff;
  border: 1px solid rgba(255, 255, 255, .35); font-size: 15px; padding: 13px 24px;
}
.btn-outline:hover { background: rgba(255, 255, 255, .16); }
.hero-stats { display: flex; gap: 36px; margin-top: 38px; flex-wrap: wrap; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats b { font-size: 22px; color: #ffe9bf; }
.hero-stats span { font-size: 12.5px; color: #bcaee0; }

/* 手机样机 */
.hero-visual { position: relative; display: flex; justify-content: center; }
.phone {
  position: relative; width: 264px; border-radius: 34px; overflow: hidden;
  border: 6px solid rgba(255, 255, 255, .92);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .18);
  transform: rotate(2deg); aspect-ratio: 9 / 17.2;
}
.phone img { width: 100%; height: 100%; object-fit: cover; }
.phone-notch {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 92px; height: 20px; border-radius: 12px; background: rgba(20, 14, 38, .85); z-index: 2;
}
.phone-cap {
  position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 2;
  padding: 8px 12px; border-radius: 12px; font-size: 12px;
  background: rgba(24, 16, 46, .72); color: #f2ecff; backdrop-filter: blur(6px);
}
.chip {
  position: absolute; z-index: 3; padding: 9px 14px; border-radius: 12px;
  background: rgba(255, 255, 255, .95); color: var(--purple-dark);
  font-size: 12.5px; font-weight: 700; box-shadow: 0 10px 26px rgba(0, 0, 0, .28);
  animation: float 4s ease-in-out infinite;
}
.chip.c1 { top: 8%; left: -4%; animation-delay: 0s; }
.chip.c2 { top: 42%; right: -6%; animation-delay: 1.2s; }
.chip.c3 { bottom: 6%; left: -2%; animation-delay: 2.2s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---------- 通用区块 ---------- */
.section { padding: 84px 20px; max-width: 1120px; margin: 0 auto; }
.section.alt { max-width: none; background: var(--purple-bg); }
.section.alt > * { max-width: 1120px; margin-left: auto; margin-right: auto; }
.sec-head { text-align: center; margin-bottom: 46px; }
.sec-tag {
  display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: 3px;
  color: var(--gold-dark); border: 1px solid #e3d2ae; background: #fdf8ec;
  padding: 5px 14px; border-radius: 999px; margin-bottom: 14px;
}
.sec-head h2 { font-size: 30px; font-weight: 800; color: var(--purple-deep); }
.sec-head p { color: var(--ink-light); margin-top: 10px; }

/* 能力卡 */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.fcard {
  background: var(--card-bg); border: 1px solid var(--border); border-radius: 16px;
  padding: 26px 22px; transition: all .2s;
}
.fcard:hover { transform: translateY(-5px); box-shadow: 0 14px 34px rgba(94, 63, 163, .13); border-color: var(--purple-light); }
.fico { font-size: 30px; margin-bottom: 12px; }
.fcard h3 { font-size: 17px; color: var(--purple-dark); margin-bottom: 8px; }
.fcard p { font-size: 13.5px; color: var(--ink-light); }

/* 11 步流程 */
.step-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.scard {
  background: #fff; border: 1px solid var(--border); border-radius: 13px;
  padding: 16px 14px; font-size: 14px; font-weight: 700; color: var(--ink);
  display: flex; flex-direction: column; gap: 3px; transition: all .18s;
}
.scard:hover { border-color: var(--purple); box-shadow: 0 8px 20px rgba(94, 63, 163, .12); }
.scard span { font-size: 20px; font-weight: 800; color: var(--purple-light); }
.scard em { font-style: normal; font-weight: 400; font-size: 11.5px; color: var(--ink-light); }

/* 风格示例 */
.showcase { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.shot {
  position: relative; border-radius: 18px; overflow: hidden;
  box-shadow: 0 18px 44px rgba(58, 42, 99, .18); aspect-ratio: 9 / 14;
}
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.shot:hover img { transform: scale(1.05); }
.shot figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 42px 18px 16px;
  background: linear-gradient(transparent, rgba(20, 12, 40, .82)); color: #fff;
}
.shot figcaption b { display: block; font-size: 17px; }
.shot figcaption span { font-size: 12.5px; color: #d8cdf2; }

/* 三步上手 */
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hcard {
  background: #fff; border: 1px solid var(--border); border-radius: 16px;
  padding: 30px 24px; text-align: center; transition: all .2s;
}
.hcard:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(94, 63, 163, .12); }
.hnum {
  width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  box-shadow: 0 6px 16px rgba(124, 92, 191, .4);
}
.hcard h3 { color: var(--purple-dark); margin-bottom: 8px; }
.hcard p { font-size: 13.5px; color: var(--ink-light); }

/* 底部 CTA */
.cta-band {
  max-width: 1120px; margin: 70px auto 0; padding: 60px 24px; text-align: center;
  border-radius: 26px; color: #fff;
  background: linear-gradient(135deg, #2c1f4d, var(--purple-dark) 55%, #7a5ec0);
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%;
  background: #c9a86a40; filter: blur(70px); top: -100px; right: -60px;
}
.cta-band h2 { font-size: 28px; margin-bottom: 10px; }
.cta-band p { color: #d9cfee; margin-bottom: 26px; }
.cta-band .btn-primary { position: relative; }

footer {
  max-width: 1120px; margin: 0 auto; padding: 26px 20px 34px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  color: var(--ink-light); font-size: 13px; border-top: 1px solid var(--border); margin-top: 50px;
}
footer a { color: var(--purple-dark); font-weight: 600; }

/* ---------- 入场动画 ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .1s; } .d2 { transition-delay: .2s; } .d3 { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .chip { animation: none; }
}

/* ---------- 两种玩法 ---------- */
.mode-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.mpanel {
  position: relative; background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 20px; padding: 30px 28px; display: flex; flex-direction: column;
  transition: all .2s;
}
.mpanel:hover { box-shadow: 0 16px 40px rgba(94, 63, 163, .14); }
.mpanel.magic { border: 1.5px solid #e3d2ae; background: linear-gradient(180deg, #fffcf3, var(--card-bg) 45%); }
.mhead { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
.micon {
  flex-shrink: 0; width: 52px; height: 52px; border-radius: 14px; font-size: 26px;
  display: flex; align-items: center; justify-content: center;
  background: var(--purple-bg);
}
.mpanel.magic .micon { background: #f7efdd; }
.mhead h3 { font-size: 19px; color: var(--purple-deep); }
.msub { font-size: 12.5px; color: var(--ink-light); margin-top: 3px; }
.badge-rec {
  margin-left: auto; flex-shrink: 0; font-size: 12px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, #d9bc82, var(--gold-dark));
  padding: 4px 12px; border-radius: 999px; box-shadow: 0 4px 10px rgba(201, 168, 106, .4);
}
/* 照片变身流：三图带箭头 */
.strip { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.strip figure { flex: 1; min-width: 0; }
.strip img {
  width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px;
  border: 3px solid #fff; box-shadow: 0 8px 20px rgba(58, 42, 99, .16);
}
.strip figcaption { text-align: center; font-size: 12px; color: var(--ink-light); margin-top: 7px; font-weight: 600; }
.strip .arrow {
  flex-shrink: 0; font-size: 20px; font-weight: 800; color: var(--gold-dark);
}
/* 普通玩法：灵感卡 → 成片 */
.insp-flow { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.insp-card {
  background: #fff; border: 1px dashed var(--purple-light); border-radius: 14px;
  padding: 16px 18px; position: relative;
}
.insp-tag {
  display: inline-block; font-size: 11.5px; font-weight: 700; color: var(--purple-dark);
  background: var(--purple-bg); border-radius: 999px; padding: 3px 10px; margin-bottom: 8px;
}
.insp-card p { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.arrow.down { text-align: center; font-size: 18px; font-weight: 800; color: var(--gold-dark); }
.insp-shot { margin: 0; }
.insp-shot img {
  width: 100%; aspect-ratio: 9 / 11; object-fit: cover; border-radius: 14px;
  border: 3px solid #fff; box-shadow: 0 8px 20px rgba(58, 42, 99, .16);
}
.insp-shot figcaption { text-align: center; font-size: 12px; color: var(--ink-light); margin-top: 7px; font-weight: 600; }
.mdesc { font-size: 14px; color: var(--ink-light); margin-bottom: 16px; }
.mdesc b { color: var(--purple-dark); }
.mpanel.magic .mdesc b { color: var(--gold-dark); }
.msteps { list-style: none; margin: 0 0 20px; display: flex; flex-direction: column; gap: 9px; }
.msteps li {
  font-size: 13.5px; color: var(--ink); background: #fff;
  border: 1px solid var(--border); border-radius: 10px; padding: 9px 13px;
}
.msteps li b { color: var(--purple-dark); }
.w100 { width: 100%; }
.btn-outline.w100 { border-color: var(--purple-light); color: var(--purple-dark); }
.btn-outline.w100:hover { background: var(--purple-bg); }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; padding: 52px 20px 60px; gap: 40px; }
  .hero-visual { order: -1; }
  .hero h1 { font-size: 34px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .step-grid { grid-template-columns: repeat(4, 1fr); }
  .lnav-links { display: none; }
  .mode-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero h1 { font-size: 29px; }
  .hero-sub { font-size: 14.5px; }
  .hero-stats { gap: 22px; }
  .feature-grid, .showcase, .how-grid { grid-template-columns: 1fr; }
  .step-grid { grid-template-columns: 1fr 1fr; }
  .sec-head h2 { font-size: 24px; }
  .section { padding: 60px 16px; }
  .phone { width: 220px; }
  .chip.c1 { left: 0; } .chip.c2 { right: 0; } .chip.c3 { left: 0; }
  .lnav-cta .btn-ghost { display: none; }
  .cta-band h2 { font-size: 22px; }
  .mpanel { padding: 24px 18px; }
  .strip { gap: 5px; }
  .strip .arrow { font-size: 16px; }
}


/* ============ 官网追加：定价 / 下载 / 登录 / 购买 / 我的授权 ============ */

/* 定价卡 */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; max-width: 960px; margin: 0 auto; }
.pcard {
  position: relative; background: #fff; border: 2px solid #e6dff2; border-radius: 18px;
  padding: 34px 28px 28px; text-align: center;
  box-shadow: 0 10px 30px rgba(94, 63, 163, .07);
}
.pcard.hot { border-color: #c9a866; box-shadow: 0 14px 40px rgba(201, 168, 106, .18); }
.pbadge {
  position: absolute; top: -13px; right: 18px;
  background: linear-gradient(135deg, #f0a24b, #e8734a); color: #fff;
  font-size: 12px; font-weight: 700; padding: 3px 12px; border-radius: 12px;
}
.pname { font-size: 19px; font-weight: 800; color: #2a1e45; }
.pprice { margin: 14px 0 4px; }
.pprice b { font-size: 44px; color: #8a6a2f; }
.pprice span { font-size: 14px; color: #8a829e; }
.pdesc { font-size: 13px; color: #8a829e; margin-bottom: 16px; }
.plist { list-style: none; padding: 0; margin: 0 0 22px; text-align: left; }
.plist li { font-size: 13.5px; color: #4a4160; padding: 7px 0 7px 26px; position: relative; line-height: 1.55; }
.plist li::before { content: "✓"; position: absolute; left: 4px; color: #1a9c6b; font-weight: 700; }

/* 下载区 */
.dl-box {
  max-width: 720px; margin: 0 auto; background: #fff; border: 1.5px solid #e6dff2;
  border-radius: 16px; padding: 30px 34px; text-align: center;
}
.dl-note { font-size: 12.5px; color: #8a829e; margin-top: 10px; }

/* 通用小页面（登录/购买/我的授权） */
.page { min-height: 100vh; background: linear-gradient(160deg, #f7f4ff 0%, #fdf9f3 100%); }
.page-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 28px; background: #fff; border-bottom: 1px solid #eee7f5;
}
.page-head .brand { font-weight: 800; font-size: 17px; color: #5e3fa3; text-decoration: none; }
.page-head nav a { color: #6b5f80; text-decoration: none; font-size: 14px; margin-left: 18px; }
.page-head nav a:hover { color: #5e3fa3; }
.page-body { max-width: 560px; margin: 0 auto; padding: 40px 20px 60px; }
.card {
  background: #fff; border: 1px solid #e6dff2; border-radius: 16px;
  padding: 30px 30px 26px; box-shadow: 0 10px 30px rgba(94, 63, 163, .06);
}
.card h2 { margin: 0 0 6px; font-size: 21px; color: #2a1e45; }
.card .sub { font-size: 13px; color: #8a829e; margin-bottom: 20px; line-height: 1.7; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; color: #4a4160; margin-bottom: 6px; font-weight: 600; }
.field input {
  width: 100%; box-sizing: border-box; padding: 11px 13px; font-size: 15px;
  border: 1.5px solid #ddd4ec; border-radius: 10px; outline: none; background: #fbfaff;
}
.field input:focus { border-color: #8c6ff0; background: #fff; }
.btnrow { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.btnrow .btn-primary, .btnrow .btn-outline { flex: 1; min-width: 130px; text-align: center; }
.btn { display: inline-block; cursor: pointer; border: none; font-size: 15px; border-radius: 10px; padding: 12px 20px; text-decoration: none; }
.btn-primary { background: linear-gradient(135deg, #7b5cd6, #5e3fa3); color: #fff !important; font-weight: 700; }
.btn-outline { border: 1.5px solid #b9a8e6 !important; color: #5e3fa3 !important; background: #fff; font-weight: 600; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.tip { font-size: 12.5px; color: #8a829e; margin-top: 12px; line-height: 1.7; }
.err { color: #c05c6a; font-size: 13px; margin-top: 10px; min-height: 18px; }

/* 购买流程状态条 */
.flow { display: flex; gap: 8px; margin: 4px 0 22px; }
.flow .fs { flex: 1; text-align: center; font-size: 12px; color: #b1a8c4; padding-bottom: 8px; border-bottom: 2.5px solid #e6dff2; }
.flow .fs.on { color: #5e3fa3; font-weight: 700; border-color: #7b5cd6; }

/* 授权码展示 */
.code-box {
  background: #2a1e45; color: #ffe9b8; border-radius: 12px; padding: 18px;
  font-size: 22px; font-weight: 800; letter-spacing: 2px; text-align: center;
  font-family: Consolas, Monaco, monospace; margin: 14px 0;
}
.code-box small { display: block; font-size: 11px; color: #b8a9d8; letter-spacing: 0; font-weight: 400; margin-bottom: 6px; }
.mcode-box {
  background: #f3eefb; border: 1.5px dashed #b9a8e6; border-radius: 10px;
  padding: 12px; text-align: center; font-family: Consolas, Monaco, monospace;
  font-size: 16px; font-weight: 700; color: #5e3fa3; letter-spacing: 1px; margin: 8px 0;
}
.lic-item {
  border: 1.5px solid #e6dff2; border-radius: 14px; padding: 18px 20px; margin-bottom: 14px; background: #fff;
}
.lic-item .lrow { display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; color: #4a4160; padding: 4px 0; flex-wrap: wrap; gap: 6px; }
.lic-item .lrow b { color: #2a1e45; }
.tag { display: inline-block; font-size: 11px; padding: 2px 9px; border-radius: 9px; font-weight: 700; }
.tag.ok { background: #e3f7ee; color: #158257; }
.tag.void { background: #f4e6e8; color: #a34452; }
.tag.pending { background: #fdf3dd; color: #9a7420; }
.copy-btn { cursor: pointer; border: none; background: #f3eefb; color: #5e3fa3; font-size: 12px; padding: 5px 12px; border-radius: 8px; font-weight: 600; }
.copy-btn:hover { background: #e7defa; }
@media (max-width: 640px) {
  .lnav-links { display: none; }
  .hero-stats { flex-direction: column; }
  .strip { flex-wrap: wrap; }
}
