/* =========================================================
   弄娇BY滋冬笔趣阁 · 818today.com.cn
   娇养冬日，字里藏香 — 冬日编辑部美学
   ========================================================= */

:root {
  --ink: #3D2F2A;
  --ink-deep: #2E2420;
  --ink-soft: #6B5A4E;
  --cream: #FBF7F0;
  --cream-deep: #F4EDE3;
  --surface: #FFFFFF;
  --terracotta: #C96F4A;
  --terracotta-deep: #B85A34;
  --terracotta-light: #D8905E;
  --gold: #C9A45C;
  --sage: #7A9A87;
  --shadow-sm: 0 6px 20px rgba(61, 47, 42, 0.07);
  --shadow-md: 0 14px 34px rgba(61, 47, 42, 0.11);
  --shadow-lg: 0 24px 48px rgba(61, 47, 42, 0.16);
}

/* ---------- 基础重置 ---------- */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  overflow-x: hidden;
  background-color: var(--cream);
  background-image:
    radial-gradient(ellipse at 15% 20%, rgba(212, 116, 76, 0.08), transparent 60%),
    radial-gradient(ellipse at 85% 80%, rgba(122, 154, 135, 0.10), transparent 55%);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: rgba(212, 116, 76, 0.18);
  color: var(--ink-deep);
}

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--cream-deep);
}
::-webkit-scrollbar-thumb {
  background: var(--terracotta-light);
  border-radius: 20px;
}

/* ---------- 核心布局 ---------- */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 90px 0;
  position: relative;
}

.section:nth-child(even) {
  background: var(--cream-deep);
}

/* ---------- 导航 — 固定顶部 ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(251, 247, 240, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(201, 164, 92, 0.25);
  box-shadow: 0 1px 24px rgba(61, 47, 42, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--ink);
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--terracotta), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 6px 14px rgba(212, 116, 76, 0.35);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 500;
  color: #4E3F34;
  padding: 8px 14px;
  border-radius: 40px;
  transition: background 0.25s ease, color 0.25s ease;
}

.main-nav a:hover {
  color: var(--terracotta-deep);
  background: rgba(212, 116, 76, 0.08);
}

.nav-cta {
  padding: 10px 24px !important;
  margin-left: 12px;
  background: linear-gradient(135deg, var(--terracotta), var(--terracotta-light)) !important;
  color: #fff !important;
  border-radius: 60px !important;
  box-shadow: 0 4px 16px rgba(201, 111, 74, 0.32);
  font-weight: 600 !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(201, 111, 74, 0.42);
  background: linear-gradient(135deg, var(--terracotta-deep), var(--terracotta)) !important;
}

.menu-toggle {
  display: none;
  background: var(--cream);
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 首页 Hero ---------- */

.hero {
  min-height: 75vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: '';
  position: absolute;
  right: -70px;
  top: 18%;
  width: 360px;
  height: 360px;
  background: linear-gradient(135deg, rgba(212, 116, 76, 0.16), rgba(201, 164, 92, 0.13));
  border-radius: 42% 58% 62% 38% / 42% 44% 56% 58%;
  z-index: -1;
}

.hero::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -80px;
  width: 320px;
  height: 320px;
  border: 1.5px solid rgba(122, 154, 135, 0.4);
  border-radius: 55% 45% 60% 40% / 45% 55% 45% 55%;
  z-index: -1;
}

.hero-content {
  max-width: 700px;
  position: relative;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 40px;
  background: var(--surface);
  border: 1px solid rgba(212, 116, 76, 0.28);
  color: var(--terracotta-deep);
  margin-bottom: 18px;
  box-shadow: 0 2px 10px rgba(61, 47, 42, 0.05);
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--ink-deep);
}

.hero h1 .text-accent {
  color: var(--terracotta-deep);
  background: linear-gradient(90deg, var(--terracotta), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.12rem;
  opacity: 0.75;
  color: var(--ink-soft);
  max-width: 580px;
  margin-bottom: 34px;
  line-height: 1.72;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-image {
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 6px 16px rgba(61, 47, 42, 0.1);
  position: relative;
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-image::before {
  content: '字里藏香';
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(251, 247, 240, 0.85);
  backdrop-filter: blur(8px);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--terracotta-deep);
  letter-spacing: 0.18em;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(255,255,255,0.08), transparent 40%, rgba(201,164,92,0.14));
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: inset 0 0 40px rgba(255, 255, 255, 0.2);
  pointer-events: none;
}

/* ---------- 按钮 ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 30px;
  border-radius: 60px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--terracotta), var(--terracotta-light));
  color: #fff;
  box-shadow: 0 6px 20px rgba(212, 116, 76, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(212, 116, 76, 0.45);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.65);
  border: 1.5px solid rgba(61, 47, 42, 0.2);
  color: var(--ink);
}

.btn-outline:hover {
  border-color: var(--terracotta);
  color: var(--terracotta-deep);
  background: var(--surface);
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(61, 47, 42, 0.08);
}

/* ---------- 标签 / 标题 ---------- */

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--terracotta-deep);
  padding: 6px 0 6px 30px;
  position: relative;
  margin-bottom: 14px;
}

.section-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 20px;
  height: 2px;
  background: linear-gradient(90deg, var(--terracotta), var(--gold));
  border-radius: 2px;
}

.section-label::after {
  content: '✦';
  margin-left: 8px;
  color: var(--gold);
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink-deep);
  margin-bottom: 14px;
}

.section-desc {
  max-width: 660px;
  opacity: 0.75;
  color: var(--ink-soft);
  margin-bottom: 46px;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ---------- 卡片网格 ---------- */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 26px;
}

.category-card {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 22px;
  padding: 30px;
  border: 1px solid rgba(61, 47, 42, 0.06);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.category-card::after {
  content: '';
  position: absolute;
  top: -34px;
  right: -34px;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(201, 164, 92, 0.28), transparent 70%);
  pointer-events: none;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(201, 111, 74, 0.3);
}

.card-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(212, 116, 76, 0.12), rgba(201, 164, 92, 0.22));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  color: var(--terracotta-deep);
  margin-bottom: 18px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--terracotta-deep);
  text-decoration: none;
  margin-top: 6px;
}

.card-link::after {
  content: '→';
  transition: transform 0.25s ease;
}

.card-link:hover::after {
  transform: translateX(5px);
}

/* ---------- 特性块 ---------- */

.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.feature-image {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.feature-image img {
  display: block;
  width: 100%;
  height: auto;
}

.feature-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: linear-gradient(135deg, rgba(212, 116, 76, 0.12), transparent 50%, rgba(122, 154, 135, 0.16));
  box-shadow: inset 0 0 40px rgba(255, 255, 255, 0.2);
}

.feature-text .section-title {
  margin-bottom: 14px;
}

.feature-list {
  list-style: none;
  margin-top: 18px;
}

.feature-list li {
  padding: 8px 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--ink-soft);
  line-height: 1.65;
  font-size: 0.98rem;
}

.feature-list li::before {
  content: '❋';
  font-weight: 400;
  font-size: 1.1rem;
  color: var(--terracotta-deep);
  line-height: 1.4;
}

/* ---------- 数据条 ---------- */

.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  background: rgba(255, 255, 255, 0.85);
  padding: 30px 16px;
  border-radius: 18px;
  border: 1px solid rgba(61, 47, 42, 0.06);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.stat-number {
  font-size: clamp(1.7rem, 2.4vw, 2.3rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--ink-deep);
  line-height: 1;
}

.stat-number::after {
  content: '';
  display: block;
  width: 34px;
  height: 3px;
  background: linear-gradient(90deg, var(--terracotta), var(--gold));
  border-radius: 3px;
  margin: 12px auto 0;
}

.stat-label {
  font-size: 0.88rem;
  opacity: 0.6;
  color: var(--ink-soft);
  margin-top: 8px;
  letter-spacing: 0.06em;
}

/* ---------- 内容墙 ---------- */

.content-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 26px;
}

.content-wall-item {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(61, 47, 42, 0.07);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.content-wall-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 18px;
  right: 18px;
  height: 4px;
  background: linear-gradient(90deg, var(--terracotta), var(--gold));
  border-radius: 0 0 8px 8px;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.content-wall-item:hover {
  transform: translateY(-6px) scale(1.002);
  box-shadow: var(--shadow-md);
}

.content-wall-item:hover::before {
  opacity: 1;
}

.content-wall-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.content-wall-body {
  padding: 22px;
}

.content-wall-body h3 {
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink-deep);
  margin-bottom: 8px;
  line-height: 1.3;
}

.content-wall-body p {
  font-size: 0.9rem;
  color: var(--ink-soft);
  opacity: 0.75;
  line-height: 1.65;
}

/* ---------- FAQ ---------- */

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid rgba(61, 47, 42, 0.08);
  border-radius: 16px;
  margin-bottom: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item.open {
  border-color: rgba(212, 116, 76, 0.4);
  box-shadow: 0 8px 24px rgba(212, 116, 76, 0.12);
}

.faq-question {
  padding: 18px 22px;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--ink-deep);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s ease;
}

.faq-item.open .faq-question {
  color: var(--terracotta-deep);
}

.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--terracotta-deep);
  line-height: 1;
  transition: transform 0.3s ease;
}

.faq-item.open .faq-question::after {
  content: '−';
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 22px 18px;
  display: none;
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  display: block;
  animation: faqFade 0.35s ease;
}

@keyframes faqFade {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- CTA 横幅 ---------- */

.cta-banner {
  background: linear-gradient(135deg, var(--terracotta) 0%, var(--terracotta-light) 55%, var(--gold) 100%);
  padding: 60px 28px;
  border-radius: 30px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cta-banner::before {
  content: '❋';
  font-size: 16rem;
  line-height: 1;
  position: absolute;
  right: 8%;
  top: -34px;
  opacity: 0.12;
  color: #fff;
  transform: rotate(18deg);
  pointer-events: none;
}

.cta-banner::after {
  content: '';
  position: absolute;
  left: -70px;
  bottom: -100px;
  width: 240px;
  height: 240px;
  border-radius: 46% 54% 55% 45% / 48% 52% 48% 52%;
  border: 2px solid rgba(255, 255, 255, 0.25);
  pointer-events: none;
}

.cta-banner h2 {
  color: #fff;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 900;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.cta-banner p {
  opacity: 0.9;
  max-width: 560px;
  margin: 0 auto 30px;
  font-size: 1.05rem;
  position: relative;
  z-index: 1;
}

.cta-banner .btn-primary {
  background: #fff;
  color: var(--terracotta-deep);
  box-shadow: 0 8px 24px rgba(190, 70, 25, 0.25);
  position: relative;
  z-index: 1;
}

.cta-banner .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(190, 70, 25, 0.3);
}

/* ---------- 页脚 ---------- */

.site-footer {
  background: linear-gradient(180deg, var(--cream) 0%, #F0E3D4 100%);
  color: var(--ink);
  padding: 64px 0 28px;
  border-top: 4px solid var(--terracotta);
  position: relative;
  margin-top: 30px;
}

.site-footer::before {
  content: '❋';
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  background: var(--terracotta);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 6px 16px rgba(201, 111, 74, 0.4);
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 44px;
}

.footer-brand .logo {
  color: var(--terracotta-deep);
  margin-bottom: 15px;
}

.footer-brand p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-deep);
  margin-bottom: 14px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 26px;
  height: 2px;
  background: linear-gradient(90deg, var(--terracotta), var(--gold));
  border-radius: 2px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  padding: 5px 0;
}

.footer-col a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-col a:hover {
  color: var(--terracotta-deep);
  padding-left: 6px;
}

.footer-bottom {
  border-top: 1px solid rgba(61, 47, 42, 0.1);
  margin-top: 44px;
  padding-top: 22px;
  text-align: center;
  font-size: 0.85rem;
  color: #8A7B6D;
}

/* ---------- 工具类 ---------- */

.text-accent {
  color: var(--terracotta-deep);
}

.text-center {
  text-align: center;
}

.seo-description {
  max-width: 640px;
  margin: 0 auto 48px;
  opacity: 0.75;
  color: var(--ink-soft);
  font-size: 1.04rem;
  line-height: 1.7;
  text-align: center;
}

.mt-0 {
  margin-top: 0 !important;
}

.mb-0 {
  margin-bottom: 0 !important;
}

/* ---------- 响应式 ---------- */

@media (max-width: 768px) {
  .feature-block {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: rgba(251, 247, 240, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 24px;
    gap: 10px;
    box-shadow: 0 24px 48px rgba(61, 47, 42, 0.12);
    border-radius: 0 0 20px 20px;
  }

  .main-nav.open a {
    padding: 12px 16px;
    font-size: 1rem;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 6px;
    text-align: center;
  }

  .hero {
    min-height: auto;
    padding: 120px 0 64px;
  }

  .hero h1 {
    font-size: clamp(2rem, 5.5vw, 2.7rem);
  }

  .hero-buttons {
    flex-wrap: wrap;
  }

  .section {
    padding: 64px 0;
  }
}

@media (max-width: 480px) {
  .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: 40px 20px;
    border-radius: 22px;
  }

  .cta-banner::before {
    font-size: 10rem;
    right: 4%;
  }

  .stat-item {
    padding: 22px 14px;
  }
}