/* 香香腐宅 · xiangxiangfuzhaiapp.net.cn
   单一样式表，五个页面共用。配色为香芋紫主 + 樱花粉 CTA + 薄荷绿点缀。 */

*,*::before,*::after{box-sizing:border-box}

:root{
  --purple:#7B5BE6;
  --purple-d:#5B3DC8;
  --purple-l:#F1ECFE;
  --pink:#E85A8C;
  --pink-d:#C93A6E;
  --pink-l:#FFEDF4;
  --mint:#2EBEA0;
  --mint-l:#E4F7F2;
  --ink:#221A38;
  --body:#4C4468;
  --muted:#7C7594;
  --bg:#FBF9FF;
  --card:#FFFFFF;
  --line:#ECE7F7;
  --grad-main:linear-gradient(135deg,#A794F6,#7B5BE6 50%,#5B3DC8);
  --grad-cta:linear-gradient(135deg,#FF8DB3,#E85A8C 55%,#C93A6E);
  --shadow:0 18px 44px -24px rgba(60,36,120,.40);
  --shadow-sm:0 10px 26px -18px rgba(60,36,120,.40);
  --radius:16px;
}

html{-webkit-text-size-adjust:100%}
body,h1,h2,h3,h4,p,ul,ol,li,figure,figcaption,blockquote,dl,dd,dt,table,th,td{
  margin:0;padding:0}
ul,ol{list-style:none}
table{border-collapse:collapse}
img{max-width:100%;height:auto;display:block;border:0}
a{color:var(--purple-d);text-decoration:none}
a:hover{color:var(--pink-d)}
button{font:inherit;border:0;background:none;cursor:pointer}
details summary{cursor:pointer;list-style:none}
details summary::-webkit-details-marker{display:none}
:focus-visible{outline:3px solid rgba(232,90,140,.55);outline-offset:2px;border-radius:6px}

body{
  background:var(--bg);
  color:var(--body);
  font:400 16px/1.75 "Microsoft YaHei","PingFang SC","Hiragino Sans GB",
       "Helvetica Neue",Arial,sans-serif;
  overflow-wrap:break-word;
}
h1,h2,h3,h4{color:var(--ink);line-height:1.3;font-weight:800}
h1{font-size:38px;letter-spacing:.5px}
h2{font-size:29px;letter-spacing:.4px}
h3{font-size:18px}
p{word-break:normal}

.wrap{width:100%;max-width:1160px;margin:0 auto;padding-left:20px;padding-right:20px}

/* ── 按钮 ─────────────────────────────────────────── */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:9px;
  padding:13px 27px;border-radius:999px;
  font-size:15px;font-weight:700;letter-spacing:.4px;
  background-image:var(--grad-cta);color:#fff;
  box-shadow:0 14px 28px -14px rgba(201,58,110,.75);
  transition:transform .18s ease, filter .18s ease;
}
.btn:hover{color:#fff;filter:brightness(1.06);transform:translateY(-1px)}
.btn:active{transform:translateY(0)}
.btn i{font-size:15px}
.btn.ghost{
  background-image:none;background-color:transparent;
  border:1.5px solid rgba(255,255,255,.5);color:#fff;box-shadow:none;
}
.btn.ghost:hover{border-color:#fff;background-color:rgba(255,255,255,.12)}
.btn.dark{
  background-image:none;background-color:var(--ink);box-shadow:none;color:#fff;
}
.btn.dark:hover{background-color:#382a58}

/* ── 顶部导航（sticky，不写 overflow-x:hidden） ────── */
.header{
  position:sticky;top:0;z-index:60;
  background:rgba(255,255,255,.94);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.header-in{
  display:flex;align-items:center;justify-content:space-between;
  gap:18px;padding-top:11px;padding-bottom:11px;
}
.brand{display:flex;align-items:center;gap:11px;min-width:0}
.brand img{width:42px;height:42px;border-radius:12px;flex:none}
.brand-name{
  display:flex;flex-direction:column;line-height:1.15;
  font-size:19px;font-weight:800;color:var(--ink);white-space:nowrap;
}
.brand-name .sub{font-size:11px;font-weight:600;color:var(--muted);letter-spacing:1.4px}
.nav{display:flex;align-items:center;gap:2px;flex-wrap:wrap;justify-content:flex-end}
.nav a{
  padding:9px 13px;border-radius:10px;
  font-size:14.5px;font-weight:600;color:var(--body);white-space:nowrap;
}
.nav a:hover{color:var(--purple-d);background:var(--purple-l)}
.nav a.is-active{color:var(--purple-d);background:var(--purple-l)}
.nav .header-cta{
  padding:10px 19px;margin-left:6px;font-size:14px;
  background-image:var(--grad-cta);color:#fff;border-radius:999px;
}
.nav .header-cta:hover{background-image:var(--grad-cta);color:#fff;filter:brightness(1.06)}

/* ── Hero ─────────────────────────────────────────── */
.hero{
  background-color:#1F1240;
  background-image:
    radial-gradient(760px 420px at 88% 12%, rgba(255,123,169,.42), transparent 70%),
    radial-gradient(680px 460px at 4% 88%, rgba(123,91,230,.55), transparent 72%),
    radial-gradient(420px 300px at 62% 96%, rgba(46,190,160,.32), transparent 72%),
    radial-gradient(rgba(255,255,255,.07) 1px, transparent 1.4px),
    linear-gradient(150deg,#241444,#3B2170 46%,#6A3BA8);
  background-size:auto,auto,auto,22px 22px,auto;
  color:rgba(255,255,255,.86);
}
.hero-in{
  display:grid;grid-template-columns:1.06fr .94fr;gap:40px;align-items:center;
  padding-top:58px;padding-bottom:64px;
}
.hero-in>*{min-width:0}
.eyebrow{
  display:inline-block;margin-bottom:14px;padding:5px 14px;border-radius:999px;
  background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.22);
  font-size:12.5px;font-weight:600;letter-spacing:1px;color:#fff;
}
.hero h1{color:#fff;text-shadow:0 6px 26px rgba(20,10,48,.55)}
.hero .lead{margin-top:16px;font-size:16.5px;color:rgba(255,255,255,.86);max-width:560px}
.hero-actions{display:flex;flex-wrap:wrap;gap:13px;margin-top:26px}
.hero-facts{display:flex;flex-wrap:wrap;gap:8px 20px;margin-top:26px}
.hero-facts li{
  position:relative;padding-left:19px;font-size:13.5px;color:rgba(255,255,255,.82);
}
.hero-facts li::before{
  content:"";position:absolute;left:0;top:9px;width:8px;height:8px;border-radius:50%;
  background-color:#7BE7CE;
}
.hero-visual{display:flex;align-items:flex-end;justify-content:center;gap:15px}
.phone{
  width:206px;flex:none;padding:7px;border-radius:26px;
  background-color:#170E2E;border:1px solid rgba(255,255,255,.14);
  box-shadow:0 30px 60px -26px rgba(10,4,30,.85);
}
.phone .screen{border-radius:20px;overflow:hidden;background-color:#fff}
.phone .screen img{width:100%;height:auto;display:block}
.phone.small{width:142px;margin-bottom:34px}

/* ── 数据条 ────────────────────────────────────────── */
.stats{background-color:#fff;border-bottom:1px solid var(--line)}
.stats-in{
  display:grid;grid-template-columns:repeat(4,1fr);gap:14px;
  padding-top:26px;padding-bottom:26px;text-align:center;
}
.stats .it{min-width:0}
.stats .it .num{
  display:block;font-size:34px;font-weight:800;letter-spacing:-.5px;
  background-image:var(--grad-main);-webkit-background-clip:text;
  background-clip:text;color:transparent;line-height:1.15;
}
.stats .it .lbl{display:block;margin-top:5px;font-size:13.5px;color:var(--muted)}

/* ── 区块 ─────────────────────────────────────────── */
.section{padding-top:66px;padding-bottom:66px}
.section.alt{background-color:#fff;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.section-head{max-width:760px;margin:0 auto 34px;text-align:center}
.section-head h2{margin-bottom:0}
.sec-head-p{margin-top:13px}
.sec-head-p p{font-size:15.5px;color:var(--muted)}
.sec-body{margin-top:18px}
.sec-body p+p{margin-top:14px}
.kicker{
  display:inline-block;margin-bottom:11px;padding:4px 13px;border-radius:999px;
  background-color:var(--purple-l);color:var(--purple-d);
  font-size:12.5px;font-weight:700;letter-spacing:1.1px;
}

/* ── 卡片 ─────────────────────────────────────────── */
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.card{
  padding:24px 22px;border-radius:var(--radius);background-color:var(--card);
  border:1px solid var(--line);box-shadow:var(--shadow-sm);
  transition:transform .18s ease, box-shadow .18s ease;
}
.card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}
.card .ico{
  display:inline-flex;align-items:center;justify-content:center;
  width:46px;height:46px;border-radius:14px;margin-bottom:15px;
  background-image:var(--grad-main);color:#fff;font-size:19px;
}
.card h3{margin-bottom:9px}
.card p{font-size:14.5px;color:var(--body)}
.card p+p{margin-top:9px}
.card a.more{
  display:inline-block;margin-top:12px;font-size:13.5px;font-weight:700;color:var(--pink-d);
}

/* ── 预览图 ───────────────────────────────────────── */
.shots{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.shots .shot{min-width:0}
.shots .shot .frame{
  border-radius:14px;overflow:hidden;border:1px solid var(--line);
  background-color:#fff;box-shadow:var(--shadow-sm);
}
.shots .shot img{width:100%;height:auto;display:block}
.shots .shot figcaption{margin-top:9px;font-size:12.5px;color:var(--muted)}

/* ── 入口卡 ───────────────────────────────────────── */
.entries{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}
.entry{
  display:block;padding:26px 24px;border-radius:var(--radius);
  background-image:linear-gradient(135deg,#F6F2FF,#FFF6FA);
  border:1px solid var(--line);color:var(--body);
}
.entry:hover{color:var(--body);border-color:#D9CEF6}
.entry h3{margin-bottom:8px;font-size:19px}
.entry p{font-size:14.5px}
.entry .go{display:inline-block;margin-top:13px;font-size:13.5px;font-weight:700;color:var(--pink-d)}

/* ── 评价 ─────────────────────────────────────────── */
.reviews{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}
.review{
  padding:24px 22px;border-radius:var(--radius);background-color:#fff;
  border:1px solid var(--line);box-shadow:var(--shadow-sm);
}
.review .stars{color:#F2A83B;font-size:13px;letter-spacing:2px}
.review blockquote{margin-top:11px;font-size:15px;color:var(--body)}
.review .who{margin-top:14px;font-size:13px;color:var(--muted)}
.review time{display:block;margin-top:6px;font-size:12px;color:var(--muted)}

/* ── FAQ ─────────────────────────────────────────── */
.faq{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
.faq details{
  border-radius:14px;background-color:#fff;border:1px solid var(--line);
  padding:0 20px;
}
.faq details summary{
  position:relative;padding:17px 34px 17px 0;
  font-size:15.5px;font-weight:700;color:var(--ink);
}
.faq details summary::after{
  content:"+";position:absolute;right:2px;top:15px;
  font-size:20px;font-weight:700;color:var(--purple);line-height:1;
}
.faq details[open] summary::after{content:"–"}
.faq details .ans{padding-bottom:18px;font-size:14.5px;color:var(--body)}
.faq details .ans p+p{margin-top:10px}
.faq.wide{grid-template-columns:1fr}
.faq.wide details summary{font-size:16px}

/* ── CTA 条 ───────────────────────────────────────── */
.band{
  display:grid;grid-template-columns:1fr auto;align-items:center;
  gap:8px 26px;margin-top:14px;padding:30px 30px;
  border-radius:20px;background-image:linear-gradient(135deg,#2A1650,#4A2A8C 55%,#7B4FB8);
  box-shadow:var(--shadow);
}
.band h2{grid-column:1;grid-row:1;color:#fff;font-size:25px}
.band .btn{grid-column:2;grid-row:1;justify-self:end}
.band .band-txt{grid-column:1/-1;grid-row:2}
.band .band-txt p{font-size:14.5px;color:rgba(255,255,255,.86)}
.band .band-txt a{color:#8FE7D2;font-weight:700}
.band .band-txt a:hover{color:#fff}

/* ── 内页正文 ─────────────────────────────────────── */
.prose{
  width:100%;max-width:900px;min-width:0;margin:0 auto;
  padding:54px 22px 64px;
}
.prose h2{margin-top:46px}
.prose h2:first-of-type{margin-top:0}
.prose h3{margin-top:26px;margin-bottom:8px}
.prose p{margin-top:14px;font-size:15.8px;color:var(--body)}
.prose ul{margin-top:14px}
.prose ul>li,.prose ol>li{position:relative;padding-left:20px;margin-top:9px;font-size:15.5px}
.prose ul>li::before{
  content:"";position:absolute;left:2px;top:11px;width:7px;height:7px;border-radius:50%;
  background-color:var(--purple);
}
.prose ol{counter-reset:po;margin-top:14px}
.prose ol>li{padding-left:26px}
.prose ol>li::before{
  counter-increment:po;content:counter(po)".";
  position:absolute;left:0;top:0;font-weight:700;color:var(--pink-d);font-size:14.5px;
}
.prose a{font-weight:700;text-decoration:underline;text-decoration-color:rgba(232,90,140,.45);
  text-underline-offset:3px}
.prose strong{color:var(--ink)}

.prose .steps{counter-reset:st;margin-top:22px}
.prose .steps li{position:relative;list-style:none;font-size:15.5px}
.prose .steps>li{padding-left:52px;margin-top:18px}
.prose .steps>li::before{
  counter-increment:st;content:counter(st);
  position:absolute;left:0;top:0;width:34px;height:34px;border-radius:50%;
  background-image:var(--grad-main);color:#fff;
  font-size:15px;font-weight:700;line-height:34px;text-align:center;
}
.prose .steps>li>ul{padding-left:0;margin-top:10px}
.prose .steps>li>ul>li{padding-left:18px;font-size:14.8px;color:var(--body)}
.prose .steps>li>ul>li::before{
  content:"";position:absolute;left:0;top:10px;width:6px;height:6px;border-radius:50%;
  background-color:var(--pink);padding:0;
}

.prose .shot{max-width:368px;margin:26px auto 0}
.prose .shot .frame{
  border-radius:14px;overflow:hidden;border:1px solid var(--line);
  background-color:#fff;box-shadow:var(--shadow-sm);
}
.prose .shot img{width:100%;height:auto;display:block}
.prose .shot figcaption{margin-top:9px;font-size:12.5px;color:var(--muted);text-align:center}

.prose .note{
  margin-top:22px;padding:18px 20px;border-radius:14px;
  background-color:var(--purple-l);border-left:4px solid var(--purple);
}
.prose .note p{margin-top:0;font-size:14.8px}
.prose .note p+p{margin-top:9px}

/* ── 表格 ─────────────────────────────────────────── */
.table-scroll{margin-top:20px;overflow-x:auto;border-radius:14px;border:1px solid var(--line)}
table.cmp{width:100%;min-width:680px;background-color:#fff;font-size:14.5px}
table.cmp caption{
  padding:14px 16px;text-align:left;font-size:14px;font-weight:700;color:var(--muted);
  background-color:#F7F4FE;border-bottom:1px solid var(--line);
}
table.cmp th,table.cmp td{padding:12px 16px;text-align:left;vertical-align:top}
table.cmp thead th{background-color:#F7F4FE;color:var(--ink);font-weight:700}
table.cmp tbody tr+tr th,table.cmp tbody tr+tr td{border-top:1px solid var(--line)}
table.cmp tbody th{font-weight:700;color:var(--ink);width:26%}
table.cmp tbody tr:nth-child(even){background-color:#FCFAFF}

/* ── 页脚 ─────────────────────────────────────────── */
.footer{background-color:#180F30;color:rgba(255,255,255,.72);margin-top:0}
.footer-in{
  display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:30px;
  padding-top:54px;padding-bottom:36px;
}
.footer-brand{display:flex;align-items:center;gap:11px;margin-bottom:14px}
.footer-brand img{width:38px;height:38px;border-radius:11px;flex:none}
.footer-brand span{font-size:18px;font-weight:800;color:#fff}
.footer-desc{font-size:14px;line-height:1.8}
.footer-col h3{color:#fff;font-size:15.5px;margin-bottom:13px}
.footer-col ul li{margin-bottom:9px}
.footer-col a{color:rgba(255,255,255,.72);font-size:14px}
.footer-col a:hover{color:#fff}
.footer-dl{display:flex;align-items:flex-start;justify-content:flex-end}
.footer-bottom{border-top:1px solid rgba(255,255,255,.13);padding-top:20px;padding-bottom:26px}
.disclaimer{font-size:13px;line-height:1.8;color:rgba(255,255,255,.62)}
.copyright{margin-top:10px;font-size:12.5px;color:rgba(255,255,255,.48)}

/* ── 内页页头 ─────────────────────────────────────── */
.page-head{
  background-color:#241444;
  background-image:
    radial-gradient(620px 300px at 90% 0%, rgba(255,123,169,.35), transparent 70%),
    radial-gradient(520px 320px at 2% 100%, rgba(46,190,160,.26), transparent 72%),
    radial-gradient(rgba(255,255,255,.06) 1px, transparent 1.4px),
    linear-gradient(150deg,#241444,#452783 60%,#6E44AE);
  background-size:auto,auto,22px 22px,auto;
  color:rgba(255,255,255,.84);
}
.page-head .wrap{padding-top:52px;padding-bottom:54px}
.page-head .crumb{font-size:13px;color:rgba(255,255,255,.7);margin-bottom:13px}
.page-head .crumb a{color:rgba(255,255,255,.82)}
.page-head .crumb a:hover{color:#fff}
.page-head h1{color:#fff;max-width:820px}
.page-head .sub{margin-top:15px;max-width:760px;font-size:16px;color:rgba(255,255,255,.85)}

/* ── 渐显 ─────────────────────────────────────────── */
.reveal{transition:opacity .6s ease, transform .6s ease}
.js .reveal{opacity:0;transform:translateY(18px)}
.js .reveal.is-in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){
  .reveal,.js .reveal{opacity:1;transform:none;transition:none}
}

/* ── 断点 980 ─────────────────────────────────────── */
@media (max-width:980px){
  h1{font-size:32px}
  h2{font-size:25px}
  .hero-in{grid-template-columns:1fr;gap:34px;padding-top:46px;padding-bottom:52px}
  .hero-visual{order:2}
  .hero .lead{max-width:none}
  .cards{grid-template-columns:repeat(2,1fr)}
  .shots{grid-template-columns:repeat(3,1fr)}
  .entries{grid-template-columns:1fr}
  .reviews{grid-template-columns:1fr}
  .faq{grid-template-columns:1fr}
  .footer-in{grid-template-columns:1fr 1fr}
  .footer-dl{justify-content:flex-start}
}

/* ── 断点 620 ─────────────────────────────────────── */
@media (max-width:620px){
  h1{font-size:27px}
  h2{font-size:22px}
  .header-in{flex-direction:column;align-items:stretch;gap:9px}
  .brand{justify-content:center}
  .brand-name{font-size:18px}
  .brand-name .sub{display:none}
  .nav{gap:0}
  .nav a{
    flex:0 0 33.3333%;white-space:nowrap;text-align:center;
    padding:9px 3px;font-size:13.5px;
  }
  .nav .header-cta{display:none}
  .hero-in{padding-top:38px;padding-bottom:44px}
  .hero h1{font-size:27px}
  .hero .lead{font-size:15.5px}
  .hero-actions{gap:10px}
  .hero-actions .btn{flex:1 1 auto;padding:13px 18px}
  .hero-visual{gap:12px}
  .phone{width:44vw;max-width:196px}
  .phone.small{width:30vw;max-width:132px;margin-bottom:22px}
  .stats-in{grid-template-columns:repeat(2,1fr);gap:20px 12px;padding-top:22px;padding-bottom:22px}
  .stats .it .num{font-size:29px}
  .section{padding-top:48px;padding-bottom:48px}
  .section-head{margin-bottom:26px}
  .cards{grid-template-columns:1fr}
  .shots{grid-template-columns:repeat(2,1fr);gap:12px}
  .prose{padding-top:40px;padding-bottom:48px;padding-left:18px;padding-right:18px}
  .prose h2{margin-top:36px}
  .prose .steps>li{padding-left:44px}
  .prose .steps>li::before{width:30px;height:30px;line-height:30px;font-size:14px}
  .prose .shot{max-width:none}
  .band{grid-template-columns:1fr;padding:24px 20px}
  .band h2{grid-column:1;grid-row:1;font-size:21px}
  .band .btn{grid-column:1;grid-row:2;justify-self:start}
  .band .band-txt{grid-column:1;grid-row:3}
  .footer-in{grid-template-columns:1fr;gap:24px;padding-top:40px}
  .footer-bottom{padding-bottom:22px}
}
