:root{
  --purple:#A68BFF;
  --purple-deep:#7C63D6;
  --yellow:#FFD166;
  --ink:#2D2A35;
  --gray:#8A8794;
  --bg:#FFFFFF;
  --bg-soft:#F7F5FA;
  --line:#E9E4F5;
  --radius:16px;
  --radius-lg:24px;
}
*{margin:0;padding:0;box-sizing:border-box;}
html{-webkit-text-size-adjust:100%;}
body{
  font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;
  color:var(--ink);
  background:var(--bg);
  line-height:1.7;
  overflow-x:hidden;
}
img{max-width:100%;display:block;}
a{text-decoration:none;color:inherit;}
ul{list-style:none;}

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

/* ---------- header ---------- */
.site-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-inner{
  display:flex;align-items:center;gap:16px;
  height:68px;
}
.brand{
  display:flex;align-items:center;gap:10px;
  font-size:19px;font-weight:700;letter-spacing:.5px;
  white-space:nowrap;
}
.brand img{height:34px;width:auto;border-radius:8px;}
.nav{
  display:flex;gap:22px;margin-left:26px;
  font-size:15px;color:var(--gray);
}
.nav a{transition:color .2s;}
.nav a:hover{color:var(--purple-deep);}
.header-search{
  margin-left:auto;
  display:flex;align-items:center;gap:8px;
  background:var(--bg-soft);
  border:1px solid var(--line);
  border-radius:999px;
  padding:7px 16px;
  min-width:200px;
  color:var(--gray);
  font-size:14px;
}
.header-search span.dot{
  width:8px;height:8px;border-radius:50%;
  background:var(--purple);flex:0 0 auto;
}
.btn{
  display:inline-block;
  background:var(--purple);
  color:#fff;
  font-weight:700;
  padding:13px 30px;
  border-radius:999px;
  transition:transform .2s,box-shadow .2s,background .2s;
  box-shadow:0 8px 20px rgba(166,139,255,.28);
}
.btn:hover{background:var(--purple-deep);transform:translateY(-2px);box-shadow:0 12px 26px rgba(166,139,255,.34);}
.btn-sm{padding:9px 20px;font-size:14px;box-shadow:none;}

/* ---------- section head ---------- */
section{padding:64px 0;}
.sec-head{margin-bottom:34px;}
.sec-head h2{
  font-size:26px;font-weight:800;letter-spacing:.5px;
  padding-bottom:12px;position:relative;display:inline-block;
}
.sec-head h2::after{
  content:"";position:absolute;left:0;bottom:0;
  width:56px;height:3px;border-radius:3px;background:var(--purple);
}
.sec-head p{margin-top:12px;color:var(--gray);font-size:15px;max-width:720px;}
.sec-head.center{text-align:center;}
.sec-head.center h2::after{left:50%;transform:translateX(-50%);}
.sec-head.center p{margin-left:auto;margin-right:auto;}

/* ---------- hero ---------- */
.hero{
  background:linear-gradient(180deg,#F8F6FD 0%,#FFFFFF 78%);
  padding-top:56px;
  text-align:center;
}
.hero h1{
  font-size:40px;line-height:1.35;font-weight:800;
  letter-spacing:.5px;max-width:820px;margin:0 auto 18px;
}
.hero h1 em{
  font-style:normal;color:var(--purple-deep);
  position:relative;
}
.hero-lead{
  color:var(--gray);font-size:16px;max-width:660px;margin:0 auto 28px;
}
.hero-actions{
  display:flex;justify-content:center;gap:14px;flex-wrap:wrap;margin-bottom:20px;
}
.hero-note{font-size:13px;color:var(--gray);margin-bottom:40px;}
.hero-note b{color:var(--purple-deep);}
.hero-gallery{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
  align-items:end;
  max-width:960px;margin:0 auto;
}
.hero-gallery figure{
  border-radius:var(--radius-lg);
  overflow:hidden;
  background:var(--bg-soft);
  box-shadow:0 14px 34px rgba(124,99,214,.14);
  transition:transform .35s,box-shadow .35s;
}
.hero-gallery figure:nth-child(2){transform:translateY(-18px);}
.hero-gallery figure:hover{transform:translateY(-10px);box-shadow:0 20px 44px rgba(124,99,214,.22);}
.hero-gallery figure:nth-child(2):hover{transform:translateY(-28px);}
.hero-gallery img{width:100%;height:300px;object-fit:cover;object-position:top;}
.hero-gallery figcaption{
  font-size:13px;color:var(--gray);padding:10px 14px;text-align:left;
  background:#fff;border-top:1px solid var(--line);
}

/* ---------- features ---------- */
.feature-grid{
  display:grid;grid-template-columns:repeat(4,1fr);gap:22px;
}
.feature-card{
  background:var(--bg-soft);
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  padding:30px 24px;
  height:100%;
  transition:transform .25s,border-color .25s,background .25s;
}
.feature-card:hover{transform:translateY(-4px);border-color:var(--purple);background:#fff;}
.feature-num{
  display:inline-flex;align-items:center;justify-content:center;
  width:40px;height:40px;border-radius:12px;
  background:var(--purple);color:#fff;font-weight:800;font-size:16px;
  margin-bottom:18px;
}
.feature-card h3{font-size:17px;margin-bottom:10px;font-weight:800;}
.feature-card p{font-size:14px;color:var(--gray);line-height:1.75;}

/* ---------- daily ---------- */
.daily-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px;}
.daily-card{
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  overflow:hidden;background:#fff;
  display:flex;flex-direction:column;
  transition:transform .25s,box-shadow .25s;
}
.daily-card:hover{transform:translateY(-4px);box-shadow:0 14px 30px rgba(124,99,214,.13);}
.daily-card img{width:100%;height:170px;object-fit:cover;object-position:top;}
.daily-body{padding:16px 18px 20px;flex:1;display:flex;flex-direction:column;}
.daily-tag{
  align-self:flex-start;
  font-size:12px;color:#8a6a1f;background:var(--yellow);
  border-radius:999px;padding:2px 10px;margin-bottom:10px;font-weight:700;
}
.daily-body h3{font-size:15px;font-weight:800;margin-bottom:8px;}
.daily-body p{font-size:13px;color:var(--gray);line-height:1.7;}
.daily-meta{margin-top:auto;padding-top:12px;font-size:12px;color:var(--gray);}

/* ---------- categories ---------- */
.cat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;}
.cat-col{
  border:1px solid var(--line);border-radius:var(--radius-lg);
  background:#fff;padding:22px;
}
.cat-col h3{
  font-size:18px;font-weight:800;margin-bottom:6px;
  display:flex;align-items:center;gap:8px;
}
.cat-col h3 i{
  width:8px;height:8px;border-radius:50%;background:var(--purple);display:inline-block;
}
.cat-col>p{font-size:13px;color:var(--gray);margin-bottom:18px;}
.cat-books{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;}
.cat-book figure{
  border-radius:12px;overflow:hidden;background:var(--bg-soft);
}
.cat-book img{width:100%;height:130px;object-fit:cover;object-position:top;}
.cat-book figcaption{font-size:12px;color:var(--gray);padding:8px 10px;}

/* ---------- hot topics ---------- */
.hot-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;}
.hot-card{
  background:var(--bg-soft);
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  padding:26px 24px;
  display:flex;flex-direction:column;height:100%;
  transition:border-color .25s,transform .25s;
}
.hot-card:hover{border-color:var(--purple);transform:translateY(-4px);}
.hot-card h3{font-size:16px;font-weight:800;line-height:1.55;margin-bottom:12px;}
.hot-card p{font-size:14px;color:var(--gray);line-height:1.8;}
.hot-foot{
  margin-top:auto;padding-top:18px;font-size:13px;
  color:var(--purple-deep);font-weight:600;
}

/* ---------- creator wall ---------- */
.creator{
  display:grid;grid-template-columns:1fr 1fr;gap:0;
  border:1px solid var(--line);border-radius:var(--radius-lg);
  overflow:hidden;background:#fff;
}
.creator-left{padding:36px 34px;background:var(--bg-soft);}
.creator-avatar{
  width:72px;height:72px;border-radius:50%;overflow:hidden;
  border:3px solid #fff;box-shadow:0 6px 16px rgba(124,99,214,.2);
  margin-bottom:16px;background:var(--purple);
}
.creator-avatar img{width:100%;height:100%;object-fit:cover;}
.creator-sign{font-size:14px;font-weight:700;color:var(--purple-deep);margin-bottom:16px;}
.creator-quote{font-size:15px;line-height:1.9;color:var(--ink);}
.creator-quote strong{color:var(--purple-deep);}
.creator-right{padding:0;display:flex;flex-direction:column;}
.creator-right img{width:100%;height:100%;min-height:260px;object-fit:cover;object-position:center;}
.creator-right-bar{
  display:flex;align-items:center;justify-content:space-between;
  gap:12px;padding:16px 22px;background:#fff;border-top:1px solid var(--line);
}
.creator-right-bar span{font-size:13px;color:var(--gray);}

/* ---------- comments waterfall ---------- */
.wall{
  column-count:4;column-gap:20px;
}
.wall-card{
  break-inside:avoid;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:#fff;
  padding:18px 18px 16px;
  margin-bottom:20px;
  transition:border-color .25s,transform .25s;
}
.wall-card:hover{border-color:var(--purple);transform:translateY(-3px);}
.wall-head{display:flex;align-items:center;gap:10px;margin-bottom:10px;}
.wall-dot{
  width:32px;height:32px;border-radius:50%;
  background:linear-gradient(135deg,var(--purple),#C9B8FF);
  color:#fff;font-size:13px;font-weight:700;
  display:flex;align-items:center;justify-content:center;flex:0 0 auto;
}
.wall-name{font-size:13px;font-weight:700;}
.wall-text{font-size:13.5px;color:var(--gray);line-height:1.8;}
.wall-love{margin-top:10px;font-size:12px;color:var(--yellow);font-weight:700;}

/* ---------- download ---------- */
.download{
  background:var(--purple);
  color:#fff;
  padding:0;
}
.download-inner{
  display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:40px;
  padding:64px 0;
}
.download h2{font-size:30px;font-weight:800;margin-bottom:16px;line-height:1.4;}
.download p{font-size:15px;color:rgba(255,255,255,.9);max-width:440px;margin-bottom:26px;}
.download .btn{
  background:#fff;color:var(--purple-deep);
  box-shadow:0 10px 26px rgba(45,42,53,.18);
}
.download .btn:hover{background:#F4F0FF;transform:translateY(-2px);}
.download-note{font-size:13px;color:rgba(255,255,255,.82);margin-top:14px;}
.phones{display:flex;justify-content:center;gap:18px;}
.phones .phone{
  width:44%;border-radius:20px;overflow:hidden;
  border:4px solid rgba(255,255,255,.5);
  box-shadow:0 18px 36px rgba(45,42,53,.25);
  background:rgba(255,255,255,.15);
}
.phones .phone:nth-child(2){transform:translateY(26px);}
.phones .phone img{width:100%;height:290px;object-fit:cover;object-position:top;}

/* ---------- floating ---------- */
.float-dl{
  position:fixed;right:22px;bottom:24px;z-index:80;
  background:var(--purple);color:#fff;font-weight:800;font-size:14px;
  padding:13px 24px;border-radius:999px;
  box-shadow:0 0 0 4px rgba(166,139,255,.22),0 12px 28px rgba(124,99,214,.4);
  transition:transform .25s,background .25s;
}
.float-dl:hover{transform:translateY(-3px);background:var(--purple-deep);}

/* ---------- footer ---------- */
.site-footer{
  background:var(--bg-soft);
  border-top:1px solid var(--line);
  padding:34px 0 40px;
  font-size:13px;color:var(--gray);
}
.footer-inner{
  display:flex;flex-wrap:wrap;gap:14px 30px;align-items:center;justify-content:space-between;
}
.footer-brand{display:flex;align-items:center;gap:8px;font-weight:700;color:var(--ink);}
.footer-brand img{height:24px;width:auto;border-radius:6px;}
.footer-inner a{color:var(--gray);}
.footer-inner a:hover{color:var(--purple-deep);}
.footer-meta{display:flex;flex-wrap:wrap;gap:8px 20px;}

/* ---------- responsive ---------- */
@media (max-width:1024px){
  .hero h1{font-size:32px;}
  .feature-grid{grid-template-columns:repeat(2,1fr);}
  .daily-grid{grid-template-columns:repeat(2,1fr);}
  .cat-grid{grid-template-columns:repeat(3,1fr);gap:18px;}
  .hot-grid{grid-template-columns:1fr 1fr;}
  .wall{column-count:3;}
  .header-search{display:none;}
}
@media (max-width:768px){
  section{padding:44px 0;}
  .nav{display:none;}
  .header-inner{gap:10px;}
  .hero{padding-top:38px;}
  .hero h1{font-size:25px;}
  .hero-lead{font-size:14.5px;}
  .hero-gallery{grid-template-columns:1fr;gap:16px;}
  .hero-gallery figure:nth-child(2){transform:none;}
  .hero-gallery figure:nth-child(2):hover{transform:translateY(-6px);}
  .hero-gallery img{height:260px;}
  .sec-head h2{font-size:21px;}
  .feature-grid{grid-template-columns:1fr;}
  .daily-grid{grid-template-columns:1fr;}
  .cat-grid{grid-template-columns:1fr;}
  .cat-books{grid-template-columns:repeat(2,1fr);}
  .hot-grid{grid-template-columns:1fr;}
  .creator{grid-template-columns:1fr;}
  .creator-left{padding:26px 22px;}
  .creator-right img{min-height:220px;}
  .wall{column-count:2;column-gap:14px;}
  .wall-card{margin-bottom:14px;padding:14px;}
  .download-inner{grid-template-columns:1fr;padding:46px 0;text-align:center;}
  .download p{margin-left:auto;margin-right:auto;}
  .phones .phone img{height:220px;}
  .float-dl{right:14px;bottom:16px;padding:11px 18px;font-size:13px;}
  .footer-inner{flex-direction:column;align-items:flex-start;}
}
@media (max-width:420px){
  .wall{column-count:1;}
}