/* ============================================
   屁屁影院 · 奶油珊瑚视觉系统
   屁屁一响，好戏开场
   ============================================ */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --pp-coral: #f4552b;
  --pp-coral-light: #ff8d5f;
  --pp-coral-soft: #fff1e8;
  --pp-teal: #2f9b8f;
  --pp-teal-light: #d6ece7;
  --pp-teal-bright: #34b8a9;
  --pp-yellow: #ffb800;
  --pp-cream: #fcf6ef;
  --pp-card: #ffffff;
  --pp-ink: #2d2924;
  --pp-muted: #8a7d72;
  --pp-line: rgba(45, 41, 36, 0.08);
  --pp-shadow: 0 12px 32px rgba(45, 41, 36, 0.06);
  --pp-radius: 20px;
}

body {
  font-family: system-ui, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  overflow-x: hidden;
  background-color: var(--pp-cream);
  background-image: radial-gradient(rgba(244, 85, 43, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  color: var(--pp-ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--pp-coral);
  color: #fff;
}

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--pp-cream);
}
::-webkit-scrollbar-thumb {
  background: #e3cbb8;
  border-radius: 20px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--pp-coral);
}

/* ---------- 核心布局 ---------- */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 88px 0;
  position: relative;
}

.section:nth-child(even) {
  background: #f6efe7;
  background-image: radial-gradient(rgba(47, 155, 143, 0.045) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* ---------- 导航 ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(252, 246, 239, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--pp-line);
  box-shadow: 0 2px 20px rgba(45, 41, 36, 0.03);
  transition: box-shadow 0.3s;
}

.site-header:hover {
  box-shadow: 0 4px 28px rgba(244, 85, 43, 0.08);
}

.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: 10px;
  font-weight: 800;
  font-size: 1.3rem;
  text-decoration: none;
  color: var(--pp-ink);
  letter-spacing: 0.5px;
  position: relative;
  z-index: 1;
}

.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  background: linear-gradient(135deg, var(--pp-coral) 0%, var(--pp-coral-light) 70%, var(--pp-yellow) 140%);
  box-shadow: inset 0 -4px 8px rgba(0, 0, 0, 0.06), 0 4px 14px rgba(244, 85, 43, 0.3);
  color: #fff;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 550;
  color: var(--pp-ink);
  opacity: 0.78;
  position: relative;
  padding: 4px 2px;
  transition: opacity 0.2s, color 0.2s;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--pp-coral);
  border-radius: 2px;
  transition: width 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.main-nav a:hover {
  opacity: 1;
  color: var(--pp-coral);
}

.main-nav a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 9px 22px;
  border-radius: 50px;
  color: #fff !important;
  font-weight: 600;
  opacity: 1 !important;
  background: linear-gradient(135deg, var(--pp-coral), var(--pp-coral-light));
  box-shadow: 0 6px 18px rgba(244, 85, 43, 0.28);
  transition: transform 0.2s, box-shadow 0.2s !important;
}

.nav-cta::after {
  display: none;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(244, 85, 43, 0.36);
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid #eadfd4;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--pp-ink);
  cursor: pointer;
  line-height: 1;
  transition: background 0.2s;
}

.menu-toggle:hover {
  background: var(--pp-coral-soft);
}

/* ---------- Hero ---------- */

.hero {
  min-height: 82vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 120px 0 64px;
  background:
    radial-gradient(circle at 85% 25%, rgba(244, 85, 43, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 68%, rgba(47, 155, 143, 0.07) 0%, transparent 42%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  right: 4%;
  top: 14%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(244, 85, 43, 0.16), rgba(244, 85, 43, 0.04) 70%),
    radial-gradient(circle, rgba(255, 184, 0, 0.05), transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  right: 18%;
  top: 34%;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 2px dashed rgba(244, 85, 43, 0.25);
  animation: hero-spin 24s linear infinite;
  z-index: 0;
  pointer-events: none;
}

@keyframes hero-spin {
  to {
    transform: rotate(360deg);
  }
}

.hero-content {
  max-width: 720px;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.84rem;
  font-weight: 600;
  padding: 5px 18px;
  border-radius: 50px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, var(--pp-coral-soft), #fff7f0);
  color: var(--pp-coral);
  border: 1px solid rgba(244, 85, 43, 0.14);
  box-shadow: 0 4px 12px rgba(244, 85, 43, 0.06);
  letter-spacing: 0.4px;
}

.hero h1 {
  font-size: 3.4rem;
  line-height: 1.15;
  margin-bottom: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.hero p {
  font-size: 1.1rem;
  opacity: 0.7;
  color: var(--pp-muted);
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-image {
  border-radius: 24px 10px 24px 10px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--pp-teal-light), #eef7f4);
  padding: 14px;
  box-shadow: var(--pp-shadow);
  transform: rotate(1.5deg);
  transition: transform 0.3s;
}

.hero-image:hover {
  transform: rotate(0deg) scale(1.01);
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 16px 6px 16px 6px;
  display: block;
}

/* ---------- 按钮 ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 30px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--pp-coral), var(--pp-coral-light));
  color: #fff;
  box-shadow: 0 8px 22px rgba(244, 85, 43, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(244, 85, 43, 0.38);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--pp-teal);
  color: var(--pp-teal);
  box-shadow: 0 4px 12px rgba(47, 155, 143, 0.08);
}

.btn-outline:hover {
  background: var(--pp-teal);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(47, 155, 143, 0.24);
}

/* ---------- 标签 / 标题 ---------- */

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 14px;
  text-transform: uppercase;
  color: var(--pp-coral);
  background: var(--pp-coral-soft);
  padding: 4px 14px;
  border-radius: 40px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
  letter-spacing: -0.3px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  display: block;
  width: 52px;
  height: 4px;
  background: linear-gradient(90deg, var(--pp-coral), var(--pp-yellow));
  border-radius: 4px;
  margin-top: 10px;
}

.section-desc {
  max-width: 620px;
  opacity: 0.7;
  color: var(--pp-muted);
  margin-bottom: 44px;
  line-height: 1.7;
}

/* ---------- 卡片网格 ---------- */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 26px;
}

.category-card {
  background: var(--pp-card);
  border-radius: 20px 10px 20px 10px;
  padding: 30px 28px;
  border: 1px solid var(--pp-line);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--pp-coral), var(--pp-yellow));
  opacity: 0;
  transition: opacity 0.3s;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(45, 41, 36, 0.08);
}

.category-card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.4rem;
  background: linear-gradient(135deg, var(--pp-coral-soft), #ffeede);
  box-shadow: inset 0 -2px 6px rgba(244, 85, 43, 0.08);
}

.card-link {
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  color: var(--pp-coral);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  transition: gap 0.2s;
}

.card-link:hover {
  gap: 8px;
}

/* ---------- 特性块 ---------- */

.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.feature-image {
  border-radius: 24px 10px 24px 10px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--pp-teal-light), #eef7f4);
  padding: 18px;
  box-shadow: var(--pp-shadow);
  transition: transform 0.3s;
}

.feature-image:hover {
  transform: scale(1.01);
}

.feature-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px 6px 16px 6px;
}

.feature-text {
  position: relative;
}

.feature-text::before {
  content: '〰';
  position: absolute;
  top: -18px;
  left: 0;
  font-size: 2rem;
  color: var(--pp-coral);
  opacity: 0.4;
}

.feature-list {
  list-style: none;
  margin-top: 16px;
}

.feature-list li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.98rem;
  color: rgba(45, 41, 36, 0.78);
}

.feature-list li::before {
  content: '';
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--pp-coral);
  box-shadow: 0 0 0 4px rgba(244, 85, 43, 0.14);
  flex-shrink: 0;
}

/* ---------- 数据条 ---------- */

.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  text-align: center;
}

.stat-item {
  padding: 32px 20px;
  border-radius: 20px 10px 20px 10px;
  background: var(--pp-card);
  border: 1px solid var(--pp-line);
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}

.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--pp-shadow);
}

.stat-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 3px;
  background: var(--pp-yellow);
  border-radius: 3px;
}

.stat-number {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--pp-coral);
  line-height: 1.1;
  letter-spacing: -1px;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.6;
  color: var(--pp-muted);
  margin-top: 8px;
  letter-spacing: 0.5px;
}

/* ---------- 内容墙 ---------- */

.content-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 26px;
}

.content-wall-item {
  border-radius: 20px 10px 20px 10px;
  overflow: hidden;
  background: var(--pp-card);
  border: 1px solid var(--pp-line);
  transition: transform 0.3s, box-shadow 0.3s;
}

.content-wall-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(45, 41, 36, 0.08);
}

.content-wall-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.content-wall-body {
  padding: 22px 20px 24px;
}

.content-wall-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.content-wall-body p {
  font-size: 0.88rem;
  color: var(--pp-muted);
  opacity: 0.8;
}

/* ---------- FAQ ---------- */

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--pp-card);
  border: 1px solid var(--pp-line);
  border-radius: 16px 8px 16px 8px;
  margin-bottom: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.faq-item:hover {
  border-color: rgba(244, 85, 43, 0.2);
}

.faq-item.open {
  border-color: rgba(244, 85, 43, 0.32);
  box-shadow: 0 8px 24px rgba(244, 85, 43, 0.06);
}

.faq-item .faq-question {
  padding: 18px 22px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  color: var(--pp-ink);
}

.faq-item .faq-question::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--pp-coral);
  font-weight: 300;
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-item .faq-answer {
  padding: 0 22px 18px;
  display: none;
  opacity: 0.78;
  color: var(--pp-muted);
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ---------- CTA 横幅 ---------- */

.cta-banner {
  padding: 64px 48px;
  text-align: center;
  border-radius: 28px 14px 28px 14px;
  background: linear-gradient(135deg, var(--pp-coral) 0%, var(--pp-coral-light) 55%, #ffa05e 120%);
  position: relative;
  overflow: hidden;
}

.cta-banner::before,
.cta-banner::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.cta-banner::before {
  width: 160px;
  height: 160px;
  top: -50px;
  right: 10%;
}

.cta-banner::after {
  width: 100px;
  height: 100px;
  bottom: -30px;
  left: 12%;
  background: rgba(255, 184, 0, 0.15);
}

.cta-banner h2 {
  color: #fff;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.cta-banner .btn-primary {
  background: #fff;
  color: var(--pp-coral) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
  position: relative;
  z-index: 1;
}

.cta-banner .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16);
}

/* ---------- 页脚 ---------- */

.site-footer {
  padding: 64px 0 30px;
  background: #e6f0ec;
  background-image: radial-gradient(rgba(47, 155, 143, 0.04) 1px, transparent 1px);
  background-size: 22px 22px;
  color: var(--pp-ink);
  border-top: 1px solid rgba(47, 155, 143, 0.08);
}

.site-footer .container {
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 44px;
}

.footer-brand {
  padding-right: 24px;
}

.footer-brand .logo {
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 0.92rem;
  opacity: 0.7;
  line-height: 1.65;
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--pp-teal);
}

.footer-col a {
  display: block;
  text-decoration: none;
  color: var(--pp-ink);
  opacity: 0.7;
  font-size: 0.9rem;
  padding: 5px 0;
  transition: opacity 0.2s, color 0.2s;
}

.footer-col a:hover {
  opacity: 1;
  color: var(--pp-coral);
}

.footer-bottom {
  border-top: 1px solid rgba(47, 155, 143, 0.14);
  margin-top: 44px;
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.65;
}

/* ---------- 工具类 ---------- */

.text-accent {
  color: var(--pp-coral);
}

.text-center {
  text-align: center;
}

.seo-description {
  max-width: 600px;
  margin: 0 auto 48px;
  opacity: 0.7;
  color: var(--pp-muted);
  line-height: 1.7;
}

.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

/* ---------- 响应式 ---------- */

@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.8rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .feature-block {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .main-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: rgba(252, 246, 239, 0.98);
    backdrop-filter: blur(14px);
    padding: 24px 28px;
    gap: 14px;
    border-bottom: 1px solid var(--pp-line);
    box-shadow: 0 20px 40px rgba(45, 41, 36, 0.08);
  }

  .main-nav.open {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }

  .main-nav a {
    padding: 8px 0;
    font-size: 1.02rem;
    width: 100%;
  }

  .main-nav a::after {
    bottom: 2px;
  }

  .nav-cta {
    text-align: center;
  }

  .hero {
    padding-top: 104px;
    min-height: auto;
    padding-bottom: 48px;
  }

  .hero h1 {
    font-size: 2.3rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .cta-banner {
    padding: 48px 24px;
  }

  .cta-banner h2 {
    font-size: 1.6rem;
  }
}

@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;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .hero h1 {
    font-size: 1.9rem;
  }

  .section {
    padding: 56px 0;
  }

  .header-inner {
    padding: 0 16px;
  }

  .container {
    padding: 0 18px;
  }
}