/* =====================================================
   ACFUN流鼻血版官网 - 设计系统
   风格：Sakura Pop Brutalism
   配色：奶油白 / 珊瑚红 / 薄荷绿 / 鹅黄
   ===================================================== */

/* 基础重置 */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

::selection {
  background: #FF6B6B;
  color: #FFF;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  overflow-x: hidden;
  background-color: #FFF8F0;
  background-image: radial-gradient(rgba(255,107,107,0.05) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
  color: #3A2E30;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* 自定义滚动条 */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #FFF0E0;
}
::-webkit-scrollbar-thumb {
  background: #FFB3B3;
  border-radius: 20px;
  border: 2px solid #FFF0E0;
}
::-webkit-scrollbar-thumb:hover {
  background: #FF6B6B;
}

/* 核心布局 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
  position: relative;
}

.section:nth-child(even) {
  background: #FFEFE0;
}

/* 导航 */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 248, 240, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 2px dotted #FFB3B3;
}

.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: 800;
  font-size: 1.25rem;
  text-decoration: none;
  color: #3A2E30;
  letter-spacing: -0.02em;
}

.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  background: linear-gradient(135deg, #FF6B6B, #FF8E53);
  color: #FFF;
  box-shadow: 0 3px 0 rgba(224, 74, 74, 0.8);
  transform: rotate(-3deg);
  transition: transform 0.3s ease;
}

.logo:hover .logo-icon {
  transform: rotate(3deg) scale(1.05);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  color: #5A4E50;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.2s;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #FF6B6B, #FFD32A);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.main-nav a:hover {
  color: #FF6B6B;
}

.main-nav a:hover::after {
  width: 100%;
}

.nav-cta {
  background: #FF6B6B;
  color: #FFF !important;
  font-weight: 700;
  padding: 8px 22px;
  border-radius: 24px;
  box-shadow: 0 3px 0 #E04A4A;
  transition: all 0.2s !important;
}

.nav-cta::after {
  display: none;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 0 #E04A4A;
  background: #FF5252;
  color: #FFF !important;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background: #3A2E30;
  border-radius: 3px;
  transition: all 0.3s;
}

/* Hero */
.hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, #FFF8F0 0%, #FFEFE0 100%);
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,107,0.12) 0%, transparent 65%);
  top: -120px;
  right: -80px;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,184,169,0.1) 0%, transparent 65%);
  bottom: -40px;
  left: 20%;
  pointer-events: none;
}

.hero-content {
  max-width: 720px;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 30px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #FF6B6B, #FF8E53);
  color: #FFF;
  letter-spacing: 0.5px;
  box-shadow: 0 3px 12px rgba(255,107,107,0.35);
}

.hero h1 {
  font-size: 3.4rem;
  line-height: 1.15;
  margin-bottom: 20px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #2D1F21;
}

.hero h1 .text-accent {
  background: linear-gradient(135deg, #FF6B6B 30%, #FF8E53 70%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.1rem;
  opacity: 0.75;
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.7;
  color: #5A4E50;
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

.hero-image {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 40px rgba(255,107,107,0.15);
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.25s ease;
  letter-spacing: 0.02em;
}

.btn-primary {
  background: linear-gradient(135deg, #FF6B6B, #FF8E53);
  color: #FFF;
  box-shadow: 0 5px 0 #E04A4A;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 0 #E04A4A;
}

.btn-primary:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #E04A4A;
}

.btn-outline {
  background: transparent;
  border: 2px solid #00B8A9;
  color: #00B8A9;
}

.btn-outline:hover {
  background: #00B8A9;
  color: #FFF;
  box-shadow: 0 4px 16px rgba(0,184,169,0.3);
}

/* 标签/标题 */
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 12px;
  color: #FF6B6B;
  text-transform: uppercase;
  background: rgba(255,107,107,0.08);
  padding: 4px 14px;
  border-radius: 20px;
}

.section-title {
  font-size: 2.4rem;
  margin-bottom: 14px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #2D1F21;
  line-height: 1.25;
}

.section-desc {
  max-width: 600px;
  opacity: 0.7;
  margin-bottom: 48px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #5A4E50;
}

/* 卡片网格 */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}

.category-card {
  background: #FFF;
  border-radius: 20px;
  padding: 32px 28px;
  border: 1px solid rgba(255,107,107,0.08);
  border-top: 4px solid #FF6B6B;
  position: relative;
  transition: all 0.3s ease;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(255,107,107,0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cards-grid .category-card:nth-child(2) {
  border-top-color: #00B8A9;
}

.cards-grid .category-card:nth-child(2) .card-icon {
  background: rgba(0,184,169,0.15);
  color: #00B8A9;
}

.cards-grid .category-card:nth-child(2) .card-link {
  color: #00B8A9;
}

.cards-grid .category-card:nth-child(3) {
  border-top-color: #FFD32A;
}

.cards-grid .category-card:nth-child(3) .card-icon {
  background: rgba(255,211,42,0.15);
  color: #D4A200;
}

.cards-grid .category-card:nth-child(3) .card-link {
  color: #D4A200;
}

.cards-grid .category-card:nth-child(4) {
  border-top-color: #A29BFE;
}

.cards-grid .category-card:nth-child(4) .card-icon {
  background: rgba(162,155,254,0.15);
  color: #6C5CE7;
}

.cards-grid .category-card:nth-child(4) .card-link {
  color: #6C5CE7;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(255,107,107,0.12);
  border-radius: 20px 20px 20px 4px;
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.4rem;
  background: rgba(255,107,107,0.12);
  color: #FF6B6B;
}

.card-link {
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  color: #FF6B6B;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}

.card-link:hover {
  gap: 10px;
}

/* 特性块 */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.feature-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(255,107,107,0.12);
  position: relative;
}

.feature-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 4px solid rgba(255,255,255,0.3);
  border-radius: 20px;
  pointer-events: none;
}

.feature-image img {
  width: 100%;
  height: auto;
  display: block;
}

.feature-text {
  padding: 0 8px;
}

.feature-text .section-label {
  margin-bottom: 10px;
}

.feature-text .section-title {
  font-size: 2rem;
}

.feature-list {
  list-style: none;
  margin-top: 24px;
}

.feature-list li {
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  font-weight: 500;
  color: #4A3E40;
}

.feature-list li::before {
  content: '✓';
  font-weight: 800;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,184,169,0.15);
  color: #00B8A9;
  border-radius: 50%;
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* 数据条 */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  background: #FFF;
  padding: 32px 20px;
  border-radius: 20px;
  border: 1px solid rgba(255,107,107,0.06);
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(255,107,107,0.05);
}

.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(255,107,107,0.12);
}

.stat-number {
  font-size: 2.6rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: #FF6B6B;
}

.stats-bar .stat-item:nth-child(2) .stat-number {
  color: #00B8A9;
}

.stats-bar .stat-item:nth-child(3) .stat-number {
  color: #FFD32A;
}

.stats-bar .stat-item:nth-child(4) .stat-number {
  color: #6C5CE7;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.65;
  margin-top: 8px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* 内容墙 */
.content-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.content-wall-item {
  background: #FFF;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.04);
  transition: all 0.3s ease;
}

.content-wall-item:hover {
  transform: translateY(-6px) rotate(0.5deg);
  box-shadow: 0 16px 32px rgba(255,107,107,0.12);
}

.content-wall-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.content-wall-item:hover img {
  transform: scale(1.03);
}

.content-wall-body {
  padding: 22px;
}

.content-wall-body h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: #2D1F21;
}

.content-wall-body p {
  font-size: 0.85rem;
  opacity: 0.6;
  line-height: 1.5;
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: #FFF;
  border: 1px solid rgba(255,107,107,0.06);
  border-radius: 16px;
  margin-bottom: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.faq-item:hover {
  border-color: rgba(255,107,107,0.2);
  box-shadow: 0 6px 20px rgba(255,107,107,0.08);
}

.faq-item.open {
  border-color: rgba(255,107,107,0.3);
  box-shadow: 0 8px 24px rgba(255,107,107,0.1);
}

.faq-item .faq-question {
  padding: 18px 24px;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #2D1F21;
  position: relative;
}

.faq-item .faq-question::after {
  content: '+';
  font-size: 1.6rem;
  font-weight: 300;
  color: #FF6B6B;
  transition: transform 0.3s ease;
  line-height: 1;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
  color: #00B8A9;
}

.faq-item .faq-answer {
  padding: 0 24px 20px;
  display: none;
  opacity: 0.7;
  font-size: 0.95rem;
  line-height: 1.65;
}

.faq-item.open .faq-answer {
  display: block;
}

/* CTA横幅 */
.cta-banner {
  padding: 64px 40px;
  text-align: center;
  border-radius: 28px;
  background: linear-gradient(135deg, #FF6B6B, #FF8E53, #FF5252);
  color: #FFF;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(255,107,107,0.35);
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  pointer-events: none;
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -40px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  pointer-events: none;
}

.cta-banner h2 {
  color: #FFF;
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
}

.cta-banner p {
  opacity: 0.9;
  margin-bottom: 28px;
  font-size: 1.05rem;
  position: relative;
  z-index: 1;
}

.cta-banner .btn-primary {
  background: #FFF;
  color: #FF6B6B;
  box-shadow: 0 5px 0 rgba(255,255,255,0.3);
  position: relative;
  z-index: 1;
}

.cta-banner .btn-primary:hover {
  box-shadow: 0 8px 0 rgba(255,255,255,0.3);
  transform: translateY(-2px);
}

/* 页脚 */
.site-footer {
  padding: 64px 0 28px;
  background: #FFEFE0;
  border-top: 3px dotted #FFB3B3;
}

.site-footer .container {
  max-width: 1200px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand {
  padding-right: 24px;
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  opacity: 0.7;
  line-height: 1.7;
  max-width: 260px;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 16px;
  color: #2D1F21;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: #6A5E60;
  text-decoration: none;
  padding: 4px 0;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #FF6B6B;
}

.footer-bottom {
  border-top: 1px solid rgba(255,107,107,0.2);
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  color: #8A7E80;
}

/* 工具类 */
.text-accent {
  color: #FF6B6B;
}

.text-center {
  text-align: center;
}

.seo-description {
  max-width: 600px;
  margin: 0 auto 48px;
  opacity: 0.7;
  text-align: center;
  color: #5A4E50;
}

.mt-0 {
  margin-top: 0 !important;
}

.mb-0 {
  margin-bottom: 0 !important;
}

/* 响应式 */
@media (max-width: 768px) {
  .feature-block {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .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: 68px;
    left: 0;
    width: 100%;
    background: #FFF8F0;
    padding: 24px;
    gap: 20px;
    align-items: flex-start;
    border-bottom: 2px dotted #FFB3B3;
    box-shadow: 0 16px 32px rgba(0,0,0,0.06);
  }

  .main-nav.open a {
    font-size: 1rem;
  }

  .hero {
    padding-top: 100px;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 1.8rem;
  }
}

@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 h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .cta-banner {
    padding: 48px 24px;
  }

  .cta-banner h2 {
    font-size: 1.6rem;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .header-inner {
    padding: 0 16px;
  }
}