/* ============================================================
   吃瓜黑料不打烊 · 瓜田不夜 猛料常新
   设计系统：奶油瓜田 / 新粗野主义 × 编辑杂志
   浅色基底 · 硬边描线 · 错位硬阴影 · 高饱和撞色
   ============================================================ */

/* ---------- 设计令牌 ---------- */
:root {
  --bg:        #FFFDF7;   /* 奶油白 */
  --bg-alt:    #EFF8E2;   /* 淡蜜瓜绿 */
  --bg-pop:    #FFF1F4;   /* 淡瓜瓤粉 */
  --ink:       #191033;   /* 墨紫（文字/描边） */
  --ink-soft:  rgba(25, 16, 51, 0.62);
  --pink:      #FF3D6E;   /* 瓜瓤红 */
  --melon:     #9BE15D;   /* 蜜瓜绿 */
  --lime:      #E4FF7A;   /* 高亮荧光绿 */
  --violet:    #6C4BFF;   /* 紫罗兰 */
  --teal:      #2FD6BE;   /* 冰瓜青 */
  --line:      2px solid var(--ink);
  --shadow-sm: 3px 3px 0 var(--ink);
  --shadow:    5px 5px 0 var(--ink);
  --shadow-lg: 9px 9px 0 var(--ink);
  --r-sm: 10px;
  --r:    18px;
  --r-pill: 999px;
  --ease: cubic-bezier(.22, .9, .3, 1.2);
}

/* ---------- 基础重置 ---------- */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: system-ui, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  overflow-x: hidden;
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 1px 1px, rgba(25,16,51,.09) 1px, transparent 0);
  background-size: 22px 22px;
  color: var(--ink);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  padding-top: 68px;
}

img { display:block; max-width:100%; }
a { color: inherit; }
button { font-family: inherit; }

::selection { background: var(--lime); color: var(--ink); }

::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }
::-webkit-scrollbar-thumb {
  background: var(--ink);
  border: 2px solid var(--bg-alt);
  border-radius: 99px;
}

/* ---------- 核心布局 ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
  position: relative;
}

.section:nth-child(even) {
  background: var(--bg-alt);
  background-image:
    repeating-linear-gradient(135deg, rgba(25,16,51,.045) 0 2px, transparent 2px 12px);
  border-top: var(--line);
  border-bottom: var(--line);
}

/* ---------- 导航 ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 253, 247, 0.92);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  border-bottom: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 1.18rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}

.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px 4px 12px 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  background: var(--pink);
  border: var(--line);
  box-shadow: 2px 2px 0 var(--ink);
  transform: rotate(-6deg);
  transition: transform .35s var(--ease);
}
.logo:hover .logo-icon { transform: rotate(8deg) scale(1.06); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
}

.main-nav a {
  position: relative;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: .02em;
  transition: color .2s;
  padding-bottom: 2px;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 4px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s var(--ease);
  z-index: -1;
  border-radius: 2px;
}
.main-nav a:hover { color: var(--pink); }
.main-nav a:hover::after { transform: scaleX(1); }

.nav-cta {
  padding: 8px 20px;
  border-radius: var(--r-pill);
  color: #fff !important;
  font-weight: 800;
  background: var(--violet);
  border: var(--line);
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .2s;
}
.nav-cta::after { display: none; }
.nav-cta:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--ink);
  background: var(--pink);
  color: #fff !important;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 38px;
  align-items: center;
  justify-content: center;
  background: var(--lime);
  border: var(--line);
  border-radius: var(--r-sm);
  box-shadow: 3px 3px 0 var(--ink);
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--ink);
}

/* ---------- Hero ---------- */
.hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 72px 0 88px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -140px;
  right: -120px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--lime), var(--melon) 65%, transparent 72%);
  opacity: .75;
  filter: blur(4px);
  z-index: 0;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -170px;
  left: -140px;
  width: 380px;
  height: 380px;
  border-radius: 46% 54% 60% 40% / 50% 42% 58% 50%;
  background: var(--teal);
  opacity: .28;
  z-index: 0;
  pointer-events: none;
}

.hero .container { position: relative; z-index: 1; }

.hero-content { max-width: 720px; }

.hero-eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: .16em;
  padding: 6px 16px;
  border-radius: var(--r-pill);
  margin-bottom: 22px;
  background: var(--lime);
  border: var(--line);
  box-shadow: var(--shadow-sm);
  transform: rotate(-2deg);
  color: var(--ink);
}

.hero h1 {
  font-size: clamp(2.1rem, 5.2vw, 3.5rem);
  line-height: 1.14;
  margin-bottom: 22px;
  font-weight: 900;
  letter-spacing: -0.035em;
}

.hero h1 em,
.hero h1 strong {
  font-style: normal;
  position: relative;
  display: inline-block;
  color: var(--pink);
  z-index: 1;
}
.hero h1 em::after,
.hero h1 strong::after {
  content: '';
  position: absolute;
  left: -2px;
  right: -2px;
  bottom: 4px;
  height: 34%;
  background: var(--lime);
  z-index: -1;
  border-radius: 3px;
}

.hero p {
  font-size: 1.08rem;
  opacity: .72;
  max-width: 560px;
  margin-bottom: 34px;
  line-height: 1.85;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-image {
  border-radius: var(--r);
  overflow: hidden;
  border: var(--line);
  box-shadow: var(--shadow-lg);
  background: #fff;
  transform: rotate(1.2deg);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.hero-image:hover {
  transform: rotate(0deg) translate(-4px, -4px);
  box-shadow: 13px 13px 0 var(--ink);
}
.hero-image img { width: 100%; height: auto; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--r-pill);
  font-weight: 800;
  font-size: 0.94rem;
  letter-spacing: .01em;
  cursor: pointer;
  border: var(--line);
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .2s;
  background: #fff;
  color: var(--ink);
}
.btn:hover {
  transform: translate(-3px, -3px);
  box-shadow: 8px 8px 0 var(--ink);
}
.btn:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
}

.btn-primary {
  color: #fff;
  background: var(--pink);
}

.btn-outline {
  background: transparent;
  border: var(--line);
  color: var(--ink);
}
.btn-outline:hover { background: var(--lime); }

/* ---------- 标签 / 标题 ---------- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: .22em;
  text-transform: uppercase;
  margin-bottom: 14px;
  padding: 5px 14px;
  border-radius: var(--r-pill);
  background: var(--bg-pop);
  border: var(--line);
  color: var(--violet);
}
.section-label::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 0 3px rgba(255,61,110,.25);
}

.section-title {
  font-size: clamp(1.5rem, 3.4vw, 2.15rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.25;
  margin-bottom: 14px;
}
.section-title::after {
  content: '';
  display: block;
  width: 62px;
  height: 8px;
  margin-top: 14px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--pink) 0 34%, var(--melon) 34% 67%, var(--violet) 67% 100%);
}

.section-desc {
  max-width: 600px;
  opacity: .72;
  margin-bottom: 40px;
  font-size: 1rem;
  line-height: 1.85;
}

.text-center .section-title::after { margin-left: auto; margin-right: auto; }
.text-center .section-desc { margin-left: auto; margin-right: auto; }

/* ---------- 卡片网格 ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.category-card {
  border-radius: var(--r);
  padding: 30px 28px 26px;
  border: var(--line);
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  position: relative;
  overflow: hidden;
}
.category-card::before {
  content: '';
  position: absolute;
  top: -36px;
  right: -36px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--lime);
  opacity: 0;
  transition: opacity .3s, transform .4s var(--ease);
  transform: scale(.6);
}
.category-card:hover {
  transform: translateY(-6px) rotate(-.6deg);
  box-shadow: var(--shadow-lg);
  background: var(--bg-pop);
}
.category-card:hover::before { opacity: .85; transform: scale(1); }

.category-card h3 {
  font-size: 1.14rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}
.category-card p {
  font-size: .92rem;
  opacity: .68;
  line-height: 1.75;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.card-icon {
  width: 50px;
  height: 50px;
  border-radius: 16px 6px 16px 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.35rem;
  background: var(--melon);
  border: var(--line);
  box-shadow: var(--shadow-sm);
  transform: rotate(-4deg);
  transition: transform .35s var(--ease);
}
.category-card:hover .card-icon { transform: rotate(7deg) scale(1.06); }

.category-card:nth-child(3n+1) .card-icon { background: var(--lime); }
.category-card:nth-child(3n+2) .card-icon { background: var(--teal); }
.category-card:nth-child(3n+3) .card-icon { background: var(--pink); }

.card-link {
  font-weight: 800;
  font-size: .85rem;
  text-decoration: none;
  color: var(--violet);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 1;
  transition: gap .25s var(--ease), color .2s;
}
.card-link::after { content: '→'; transition: transform .25s var(--ease); }
.card-link:hover { color: var(--pink); gap: 10px; }
.card-link:hover::after { transform: translateX(3px); }

/* ---------- 特性块 ---------- */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.feature-image {
  border-radius: var(--r);
  overflow: hidden;
  border: var(--line);
  box-shadow: var(--shadow-lg);
  background: #fff;
  transform: rotate(-1.5deg);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.feature-image:hover {
  transform: rotate(0) translate(-4px,-4px);
  box-shadow: 13px 13px 0 var(--ink);
}
.feature-image img { width: 100%; height: auto; }

.feature-text h3 {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
  line-height: 1.3;
}
.feature-text p {
  opacity: .7;
  margin-bottom: 20px;
  line-height: 1.85;
}

.feature-list { list-style: none; }
.feature-list li {
  padding: 9px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .96rem;
  font-weight: 500;
  border-bottom: 1px dashed rgba(25,16,51,.16);
}
.feature-list li:last-child { border-bottom: none; }
.feature-list li::before {
  content: '✓';
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin-top: 3px;
  display: grid;
  place-items: center;
  font-size: .72rem;
  font-weight: 900;
  color: var(--ink);
  background: var(--lime);
  border: 1.5px solid var(--ink);
  border-radius: 50%;
}

/* ---------- 数据条 ---------- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  padding: 28px 20px;
  border-radius: var(--r);
  border: var(--line);
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.stat-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.stat-item:nth-child(1) { background: #FFF7DA; }
.stat-item:nth-child(2) { background: #E7FBDF; }
.stat-item:nth-child(3) { background: #E5F1FF; }
.stat-item:nth-child(4) { background: #FFE7EE; }

.stat-number {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.stat-number sup { font-size: .5em; color: var(--pink); }

.stat-label {
  font-size: .88rem;
  opacity: .62;
  margin-top: 8px;
  font-weight: 600;
  letter-spacing: .04em;
}

/* ---------- 内容墙 ---------- */
.content-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.content-wall-item {
  border-radius: var(--r);
  overflow: hidden;
  border: var(--line);
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  display: flex;
  flex-direction: column;
}
.content-wall-item:hover {
  transform: translate(-4px, -4px);
  box-shadow: var(--shadow-lg);
}

.content-wall-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: var(--line);
  filter: saturate(112%) contrast(102%);
  transition: transform .5s var(--ease);
}
.content-wall-item:hover img { transform: scale(1.05); }

.content-wall-body { padding: 20px 22px 24px; }
.content-wall-body h3 {
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.45;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.content-wall-body p {
  font-size: .9rem;
  opacity: .66;
  line-height: 1.75;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: var(--line);
  border-radius: var(--r-sm);
  margin-bottom: 12px;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
}
.faq-item:hover { transform: translate(-2px,-2px); box-shadow: var(--shadow); }
.faq-item.open { background: var(--bg-pop); box-shadow: var(--shadow); }

.faq-item .faq-question {
  padding: 18px 22px;
  font-weight: 800;
  font-size: .98rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item .faq-question::after {
  content: '+';
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  font-size: 1.05rem;
  font-weight: 900;
  border-radius: 50%;
  background: var(--lime);
  border: 1.5px solid var(--ink);
  transition: transform .3s var(--ease), background .2s;
}
.faq-item.open .faq-question::after {
  transform: rotate(135deg);
  background: var(--pink);
  color: #fff;
}

.faq-item .faq-answer {
  padding: 0 22px 18px;
  display: none;
  opacity: .72;
  font-size: .94rem;
  line-height: 1.85;
  border-top: 1px dashed rgba(25,16,51,.18);
  margin-top: 2px;
  padding-top: 14px;
}
.faq-item.open .faq-answer { display: block; animation: fadeUp .35s var(--ease); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: .72; transform: translateY(0); }
}

/* ---------- CTA 横幅 ---------- */
.cta-banner {
  padding: 62px 32px;
  text-align: center;
  border-radius: 26px;
  color: #fff;
  border: var(--line);
  box-shadow: var(--shadow-lg);
  background:
    radial-gradient(circle at 12% 18%, rgba(228,255,122,.55), transparent 42%),
    radial-gradient(circle at 88% 84%, rgba(47,214,190,.5), transparent 45%),
    linear-gradient(118deg, var(--pink) 0%, var(--violet) 100%);
  position: relative;
  overflow: hidden;
}
.cta-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(-45deg, rgba(255,255,255,.10) 0 2px, transparent 2px 14px);
  pointer-events: none;
}
.cta-banner > * { position: relative; z-index: 1; }

.cta-banner h2 {
  color: #fff;
  font-size: clamp(1.5rem, 3.6vw, 2.15rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}
.cta-banner p { color: rgba(255,255,255,.88); margin-bottom: 26px; }

.cta-banner .btn-primary {
  background: var(--lime);
  color: var(--ink);
  border: var(--line);
  box-shadow: 5px 5px 0 rgba(25,16,51,.85);
}
.cta-banner .btn-primary:hover {
  background: #fff;
  box-shadow: 9px 9px 0 rgba(25,16,51,.85);
}

/* ---------- 页脚 ---------- */
.site-footer {
  padding: 56px 0 28px;
  background: #FFFDF7;
  border-top: var(--line);
  position: relative;
}
.site-footer .container { position: relative; }

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--pink) 0 25%, var(--melon) 25% 50%, var(--lime) 50% 75%, var(--violet) 75% 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand .logo { margin-bottom: 14px; }
.footer-brand p {
  font-size: .9rem;
  opacity: .64;
  line-height: 1.8;
  max-width: 320px;
}

.footer-col h4 {
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 9px; }
.footer-col a {
  font-size: .9rem;
  text-decoration: none;
  opacity: .7;
  transition: opacity .2s, color .2s, padding-left .25s var(--ease);
}
.footer-col a:hover {
  opacity: 1;
  color: var(--pink);
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(25, 16, 51, 0.14);
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
  font-size: .85rem;
  opacity: .6;
}

/* ---------- 工具类 ---------- */
.text-accent {
  color: var(--pink);
  font-weight: 800;
  position: relative;
  z-index: 1;
}
.text-accent::after {
  content: '';
  position: absolute;
  left: -1px;
  right: -1px;
  bottom: 1px;
  height: 8px;
  background: var(--lime);
  z-index: -1;
  opacity: .75;
}

.text-center { text-align: center; }

.seo-description {
  max-width: 600px;
  margin: 0 auto 48px;
  opacity: .7;
  line-height: 1.9;
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .feature-block { gap: 36px; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
}

@media (max-width: 768px) {
  body { padding-top: 64px; }

  .section { padding: 60px 0; }

  .hero { min-height: auto; padding: 48px 0 64px; }
  .hero::before { width: 300px; height: 300px; top: -110px; right: -110px; }

  .feature-block { grid-template-columns: 1fr; }
  .feature-image { transform: rotate(0); }

  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .main-nav { display: none; }
  .menu-toggle { display: flex; }

  .main-nav.open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 68px;
    left: 0;
    width: 100%;
    background: #FFFDF7;
    padding: 22px 24px 28px;
    gap: 18px;
    border-bottom: var(--line);
    box-shadow: 0 12px 0 rgba(25,16,51,.06);
    animation: navDrop .28s var(--ease);
  }
  .main-nav.open a { font-size: 1rem; }
  .main-nav.open .nav-cta { margin-top: 6px; }

  @keyframes navDrop {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
  }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }

  .cards-grid,
  .content-wall,
  .stats-bar { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; }

  .hero-buttons { flex-direction: column; align-items: stretch; }
  .hero-buttons .btn { justify-content: center; }

  .cta-banner { padding: 46px 22px; border-radius: 20px; }
  .hero-image, .feature-image { box-shadow: var(--shadow); }
}