/* =============================================
   第一好看的动漫 · Anime Dreamscape Design System
   ============================================= */

/* 基础重置 */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  overflow-x: hidden;
  background-color: #FAF6F2;
  background-image:
    radial-gradient(ellipse at 85% 10%, rgba(255,107,94,0.07) 0%, transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(0,184,168,0.07) 0%, transparent 55%),
    radial-gradient(ellipse at 50% 50%, rgba(155,142,216,0.04) 0%, transparent 60%);
  background-attachment: fixed;
  color: #2D2536;
  line-height: 1.6;
}

::selection { background: rgba(255,107,94,0.2); color: #2D2536; }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #FAF6F2; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #FF6B5E, #00B8A8); border-radius: 8px; }

/* 核心布局 */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.section { padding: 96px 0; position: relative; }
.section:nth-child(even) {
  background: linear-gradient(180deg, #F0F7F6, #EAF3F2);
}

/* 导航 — 固定顶部 */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(250,246,242,0.88);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid rgba(255,107,94,0.12);
}

.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.25rem;
  text-decoration: none;
  color: #2D2536;
  letter-spacing: -0.02em;
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  background: linear-gradient(135deg, #FF6B5E, #FF9D8A);
  color: #fff;
  box-shadow: 0 6px 16px rgba(255,107,94,0.35);
  animation: float 4s ease-in-out infinite;
}

.main-nav { display: flex; align-items: center; gap: 28px; list-style: none; }

.main-nav a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(45,37,54,0.8);
  transition: color 0.25s;
  position: relative;
  padding: 4px 0;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2.5px;
  border-radius: 2px;
  background: linear-gradient(90deg, #FF6B5E, #00B8A8);
  transition: width 0.3s ease;
}

.main-nav a:hover { color: #FF6B5E; }
.main-nav a:hover::after { width: 100%; }

.nav-cta {
  padding: 10px 24px;
  border-radius: 100px;
  background: linear-gradient(135deg, #FF6B5E, #FF8E7E);
  color: #fff !important;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(255,107,94,0.35);
  transition: transform 0.25s, box-shadow 0.25s;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(255,107,94,0.45);
  color: #fff !important;
}
.nav-cta::after { display: none; }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 2px solid rgba(45,37,54,0.15);
  background: rgba(255,255,255,0.6);
  cursor: pointer;
  position: relative;
  align-items: center;
  justify-content: center;
}

.menu-toggle::before,
.menu-toggle::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: #2D2536;
}
.menu-toggle::before { top: 15px; box-shadow: 0 6px 0 #2D2536; }
.menu-toggle::after { bottom: 15px; }

/* 首页Hero */
.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
  padding-top: 72px;
  position: relative;
  background:
    radial-gradient(ellipse at 78% 22%, rgba(255,107,94,0.12) 0%, transparent 45%),
    radial-gradient(ellipse at 15% 80%, rgba(0,184,168,0.10) 0%, transparent 45%);
  overflow: hidden;
}

.hero::before {
  content: '✦';
  position: absolute;
  top: 18%;
  right: 12%;
  font-size: 2.4rem;
  color: rgba(255,107,94,0.5);
  animation: twinkle 3s ease-in-out infinite;
}

.hero::after {
  content: '✧';
  position: absolute;
  bottom: 22%;
  left: 8%;
  font-size: 1.8rem;
  color: rgba(0,184,168,0.4);
  animation: twinkle 3.8s ease-in-out 0.5s infinite;
}

.hero-content { max-width: 720px; position: relative; z-index: 2; }

.hero-eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(255,107,94,0.12), rgba(0,184,168,0.12));
  border: 1px solid rgba(255,107,94,0.18);
  color: #FF6B5E;
  letter-spacing: 0.08em;
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 900;
  color: #2D2536;
  margin-bottom: 24px;
}

.hero h1 .text-accent {
  background: linear-gradient(120deg, #FF6B5E, #FF9D8A, #00B8A8, #9B8ED8);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: gradient-flow 5s ease infinite;
}

.hero p {
  font-size: 1.12rem;
  color: rgba(45,37,54,0.68);
  line-height: 1.8;
  max-width: 580px;
  margin-bottom: 36px;
}

.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-image {
  border-radius: 30px;
  overflow: hidden;
  position: relative;
  box-shadow:
    0 24px 64px rgba(255,107,94,0.18),
    0 0 0 8px rgba(255,107,94,0.06);
  transform: rotate(1.5deg);
  transition: transform 0.4s ease;
  flex: 1 1 380px;
  min-width: 300px;
}

.hero-image:hover { transform: rotate(0deg) scale(1.02); }

.hero-image img { width: 100%; height: auto; display: block; }

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #FF6B5E, #FF8E7E);
  color: #fff;
  box-shadow: 0 8px 28px rgba(255,107,94,0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(255,107,94,0.5);
}

.btn-outline {
  background: transparent;
  border: 2px solid #2D2536;
  color: #2D2536;
}

.btn-outline:hover {
  border-color: #FF6B5E;
  color: #FF6B5E;
  transform: translateY(-3px);
}

/* 标签/标题 */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #FF6B5E;
  background: rgba(255,107,94,0.1);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 14px;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 16px;
  color: #2D2536;
}

.section-title .text-accent {
  background: linear-gradient(120deg, #FF6B5E, #00B8A8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.section-desc {
  max-width: 620px;
  color: rgba(45,37,54,0.65);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 48px;
}

/* 卡片网格 */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}

.category-card {
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 28px;
  padding: 32px;
  border: 1px solid rgba(255,255,255,0.8);
  box-shadow: 0 8px 32px rgba(45,37,54,0.06);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.category-card::after {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,107,94,0.15), rgba(0,184,168,0.15));
  filter: blur(10px);
  transition: transform 0.4s;
}

.category-card:hover {
  transform: translateY(-8px) rotate(-0.8deg);
  box-shadow: 0 20px 50px rgba(45,37,54,0.1);
}

.category-card:hover::after { transform: scale(1.6); }

.card-icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
  background: linear-gradient(135deg, rgba(255,107,94,0.14), rgba(255,157,138,0.14));
  color: #FF6B5E;
  position: relative;
  z-index: 1;
}

.category-card:nth-child(even) .card-icon {
  background: linear-gradient(135deg, rgba(0,184,168,0.14), rgba(155,142,216,0.14));
  color: #00B8A8;
}

.card-link {
  font-weight: 700;
  font-size: 0.88rem;
  color: #FF6B5E;
  text-decoration: none;
  transition: all 0.3s;
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.card-link:hover { color: #00B8A8; gap: 10px; }

/* 特性块 */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.feature-image {
  border-radius: 30px;
  overflow: hidden;
  position: relative;
  box-shadow:
    0 24px 64px rgba(0,184,168,0.15),
    0 0 0 8px rgba(0,184,168,0.05);
}

.feature-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.feature-image:hover img { transform: scale(1.03); }

.feature-text { padding: 20px 0; }

.feature-list { list-style: none; }

.feature-list li {
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(45,37,54,0.85);
  font-weight: 500;
}

.feature-list li::before {
  content: '✦';
  font-weight: 700;
  color: #FF6B5E;
  font-size: 1rem;
}

/* 数据条 */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  text-align: center;
}

.stat-item {
  padding: 36px 24px;
  border-radius: 28px;
  background: linear-gradient(145deg, #ffffff, #f8f8f8);
  border: 1px solid rgba(45,37,54,0.05);
  box-shadow: 0 8px 32px rgba(45,37,54,0.05);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #FF6B5E, #00B8A8, #9B8ED8);
  opacity: 0;
  transition: opacity 0.3s;
}

.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(45,37,54,0.08);
}

.stat-item:hover::before { opacity: 1; }

.stat-number {
  background: linear-gradient(135deg, #FF6B5E, #00B8A8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(45,37,54,0.55);
  margin-top: 8px;
  font-weight: 500;
}

/* 内容墙 */
.content-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.content-wall-item {
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(45,37,54,0.06);
  box-shadow: 0 6px 24px rgba(45,37,54,0.05);
  transition: all 0.35s ease;
}

.content-wall-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(255,107,94,0.12);
}

.content-wall-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.content-wall-item:hover img { transform: scale(1.05); }

.content-wall-body { padding: 24px; }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
  background: #fff;
  border: 1px solid rgba(45,37,54,0.08);
  border-radius: 18px;
  margin-bottom: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(255,107,94,0.4);
  box-shadow: 0 4px 16px rgba(255,107,94,0.08);
}

.faq-item .faq-question {
  padding: 20px 24px;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #2D2536;
}

.faq-item .faq-question::after {
  content: '✚';
  color: #FF6B5E;
  font-size: 1.1rem;
  transition: transform 0.35s ease;
}

.faq-item.open .faq-question::after { transform: rotate(45deg); }

.faq-item .faq-answer {
  padding: 0 24px 20px;
  display: none;
  color: rgba(45,37,54,0.65);
  line-height: 1.7;
}

.faq-item.open .faq-answer { display: block; animation: fadeIn 0.4s ease; }

/* CTA横幅 */
.cta-banner {
  padding: 64px 40px;
  text-align: center;
  border-radius: 32px;
  color: #fff;
  background: linear-gradient(135deg, #FF6B5E, #FF9D8A, #FFB4A8);
  background-size: 200% 200%;
  animation: gradient-flow 6s ease infinite;
  box-shadow: 0 24px 64px rgba(255,107,94,0.35);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '✦';
  position: absolute;
  top: 20px;
  left: 40px;
  font-size: 3rem;
  opacity: 0.3;
  animation: twinkle 3s ease-in-out infinite;
}

.cta-banner::after {
  content: '✧';
  position: absolute;
  bottom: 20px;
  right: 50px;
  font-size: 2rem;
  opacity: 0.25;
  animation: twinkle 3.5s ease-in-out 0.7s infinite;
}

.cta-banner h2 {
  color: #fff;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.cta-banner p { color: rgba(255,255,255,0.9); margin-bottom: 28px; }

.cta-banner .btn-primary {
  background: #fff;
  color: #FF6B5E;
  box-shadow: 0 8px 24px rgba(45,37,54,0.15);
}

.cta-banner .btn-primary:hover { transform: scale(1.04) translateY(-2px); }

/* 页脚 */
.site-footer {
  padding: 64px 0 32px;
  background: linear-gradient(180deg, #F0F7F6, #E5F0EF);
  border-top: 1px solid rgba(0,184,168,0.15);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand p {
  color: rgba(45,37,54,0.6);
  font-size: 0.92rem;
  margin-top: 8px;
  max-width: 260px;
  line-height: 1.7;
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: #2D2536;
}

.footer-col a {
  color: rgba(45,37,54,0.62);
  text-decoration: none;
  display: block;
  padding: 6px 0;
  font-size: 0.9rem;
  transition: color 0.25s, transform 0.25s;
  font-weight: 500;
}

.footer-col a:hover {
  color: #FF6B5E;
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid rgba(45,37,54,0.1);
  margin-top: 48px;
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(45,37,54,0.5);
}

/* 工具类 */
.text-accent {
  background: linear-gradient(120deg, #FF6B5E, #00B8A8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.text-center { text-align: center; }

.seo-description {
  max-width: 640px;
  margin: 0 auto 56px;
  color: rgba(45,37,54,0.65);
  font-size: 1.05rem;
  line-height: 1.8;
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ===== 动画 ===== */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes twinkle {
  0%, 100% { opacity: 0.4; transform: scale(1) rotate(0deg); }
  50% { opacity: 0.8; transform: scale(1.2) rotate(20deg); }
}

@keyframes gradient-flow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ⚠️ 响应式 */
@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; }
  .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(250,246,242,0.98);
    padding: 24px 32px;
    gap: 20px;
    border-bottom: 1px solid rgba(255,107,94,0.12);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 20px 40px rgba(45,37,54,0.08);
  }
  .hero {
    min-height: auto;
    padding: 120px 0 64px;
    gap: 32px;
    justify-content: center;
    text-align: center;
  }
  .hero-content { max-width: 100%; }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero-buttons { justify-content: center; }
  .hero h1 { font-size: 2.2rem; }
  .hero-image { width: 100%; max-width: 480px; margin: 0 auto; flex: 1 1 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@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; width: 100%; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .section { padding: 64px 0; }
  .section-title { font-size: 1.9rem; }
  .cta-banner { padding: 48px 24px; }
}