/* ============================================================
   后宫岛动漫 — 设计系统
   风格概念：泡泡岛屿 · 蜜桃 × 海盐 × 暖阳
   ============================================================ */

*, *::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: #FFF9F0;
  color: #2D4059;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ============================================================
   全局装饰 — 彩色泡泡气氛
   ============================================================ */
body::before {
  content: '';
  position: fixed;
  top: -20%;
  right: -10%;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 107, 0.07) 0%, transparent 70%);
  z-index: -2;
  pointer-events: none;
}

body::after {
  content: '';
  position: fixed;
  bottom: -25%;
  left: -12%;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(78, 205, 196, 0.08) 0%, transparent 70%);
  z-index: -2;
  pointer-events: none;
}

/* ============================================================
   核心布局
   ============================================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section:nth-child(even) {
  background: #F3FAF7;
}

/* ============================================================
   固定导航 — 漂浮胶囊感
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 249, 240, 0.86);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 2px solid rgba(255, 107, 107, 0.08);
  box-shadow: 0 2px 30px rgba(255, 107, 107, 0.06);
}

.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: #2D4059;
  letter-spacing: 0.5px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  background: linear-gradient(135deg, #FF6B6B, #FFAE3D);
  color: #fff;
  box-shadow: 0 4px 12px rgba(255, 107, 107, 0.35);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.main-nav li {
  list-style: none;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  color: #2D4059;
  position: relative;
  padding: 6px 2px;
  transition: color 0.25s;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, #FF6B6B, #FFAE3D);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-nav a:hover {
  color: #FF6B6B;
}

.main-nav a:hover::after {
  width: 100%;
}

.nav-cta {
  background: linear-gradient(135deg, #FF6B6B, #FF8E53);
  padding: 10px 26px !important;
  border-radius: 999px;
  color: #fff !important;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(255, 107, 107, 0.35);
  transition: all 0.3s !important;
}

.nav-cta::after {
  display: none;
}

.nav-cta:hover {
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 107, 107, 0.45);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 2px solid #FFDEDE;
  background: #fff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  color: #2D4059;
  transition: all 0.2s;
}

.menu-toggle:hover {
  border-color: #FF6B6B;
  color: #FF6B6B;
}

/* ============================================================
   Hero — 漂浮岛屿主视觉
   ============================================================ */
.hero {
  min-height: 75vh;
  display: flex;
  align-items: center;
  padding: 120px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 107, 0.12), transparent 70%);
  top: 10%;
  right: 2%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 3px dashed rgba(78, 205, 196, 0.35);
  bottom: 12%;
  left: 4%;
  pointer-events: none;
  animation: float-circle 8s ease-in-out infinite;
}

@keyframes float-circle {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(10deg); }
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero-content {
  flex: 1;
  max-width: 640px;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 20px;
  border-radius: 999px;
  margin-bottom: 20px;
  background: rgba(255, 107, 107, 0.12);
  color: #FF6B6B;
  border: 1px solid rgba(255, 107, 107, 0.2);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: 3.2rem;
  line-height: 1.18;
  margin-bottom: 20px;
  font-weight: 800;
  color: #2D4059;
  letter-spacing: -0.5px;
}

.hero p {
  font-size: 1.1rem;
  opacity: 0.7;
  max-width: 540px;
  margin-bottom: 34px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-image {
  flex: 0 0 400px;
  border-radius: 32px;
  overflow: hidden;
  border: 5px solid #fff;
  box-shadow: 12px 12px 0 rgba(255, 107, 107, 0.12);
  background: linear-gradient(135deg, #FFE9E9, #FFF9F0);
  transform: rotate(1.5deg);
  transition: transform 0.4s ease;
}

.hero-image:hover {
  transform: rotate(0deg) scale(1.01);
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ============================================================
   按钮 — 胶囊糖果
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.5px;
}

.btn-primary {
  background: linear-gradient(135deg, #FF6B6B, #FF8E53);
  color: #fff;
  box-shadow: 0 4px 16px rgba(255, 107, 107, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(255, 107, 107, 0.45);
}

.btn-outline {
  background: transparent;
  border: 2px solid #FF6B6B;
  color: #FF6B6B;
}

.btn-outline:hover {
  background: rgba(255, 107, 107, 0.08);
  transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(255, 107, 107, 0.15);
}

/* ============================================================
   标题体系 — 趣味下划线
   ============================================================ */
.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 12px;
  background: rgba(255, 107, 107, 0.1);
  color: #FF6B6B;
  padding: 6px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 107, 107, 0.15);
  text-transform: uppercase;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 14px;
  color: #2D4059;
  position: relative;
  display: inline-block;
  letter-spacing: -0.3px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 56px;
  height: 5px;
  border-radius: 5px;
  background: linear-gradient(90deg, #FF6B6B, #FFAE3D);
}

.section-desc {
  max-width: 620px;
  opacity: 0.7;
  margin-bottom: 48px;
  line-height: 1.8;
}

/* ============================================================
   卡片网格 — 粉色糖果纸
   ============================================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}

.category-card {
  background: #fff;
  border-radius: 24px;
  padding: 32px 28px;
  border: 2px solid #FFE4E4;
  box-shadow: 6px 6px 0 rgba(255, 107, 107, 0.07);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 107, 107, 0.06);
  transition: transform 0.4s ease;
}

.category-card:hover {
  transform: translateY(-6px) rotate(-0.5deg);
  box-shadow: 10px 10px 0 rgba(255, 107, 107, 0.14);
}

.category-card:hover::before {
  transform: scale(2);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.4rem;
  background: linear-gradient(135deg, #FFE9E9, #FFF3E8);
  border: 2px solid rgba(255, 107, 107, 0.1);
}

.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;
  color: #FF8E53;
}

/* ============================================================
   特性块 — 薄荷海盐区
   ============================================================ */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.feature-image {
  border-radius: 28px;
  overflow: hidden;
  border: 4px solid #fff;
  box-shadow: 10px 10px 0 rgba(78, 205, 196, 0.15);
}

.feature-image img {
  width: 100%;
  height: auto;
  display: block;
}

.feature-text .section-title {
  margin-bottom: 20px;
}

.feature-text .section-desc {
  margin-bottom: 24px;
}

.feature-list {
  list-style: none;
  margin-top: 24px;
}

.feature-list li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.feature-list li::before {
  content: '✓';
  font-weight: 800;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(78, 205, 196, 0.15);
  color: #3AB5A8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

/* ============================================================
   数据条 — 浮岛徽章
   ============================================================ */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  text-align: center;
}

.stat-item {
  background: #fff;
  padding: 32px 20px;
  border-radius: 24px;
  border: 2px solid #FFE4E4;
  box-shadow: 5px 5px 0 rgba(255, 107, 107, 0.07);
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-4px) rotate(-1deg);
  box-shadow: 8px 8px 0 rgba(255, 107, 107, 0.14);
}

.stat-number {
  font-size: 2.4rem;
  font-weight: 800;
  color: #FF6B6B;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.6;
  margin-top: 8px;
  font-weight: 500;
  letter-spacing: 1px;
}

/* ============================================================
   内容墙 — 漫画拼贴
   ============================================================ */
.content-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.content-wall-item {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  border: 2px solid #DDF2EF;
  box-shadow: 5px 5px 0 rgba(78, 205, 196, 0.1);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.content-wall-item:hover {
  transform: translateY(-5px);
  box-shadow: 9px 9px 0 rgba(78, 205, 196, 0.18);
}

.content-wall-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s;
}

.content-wall-item:hover img {
  transform: scale(1.05);
}

.content-wall-body {
  padding: 22px;
}

.content-wall-body h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  font-weight: 700;
}

.content-wall-body p {
  font-size: 0.88rem;
  opacity: 0.65;
  line-height: 1.6;
}

/* ============================================================
   FAQ — 圆润折叠卡
   ============================================================ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  border: 2px solid #FFE4E4;
  border-radius: 18px;
  margin-bottom: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 3px 3px 0 rgba(255, 107, 107, 0.05);
}

.faq-item:hover {
  border-color: #FF6B6B;
}

.faq-item.open {
  box-shadow: 5px 5px 0 rgba(255, 107, 107, 0.12);
}

.faq-item .faq-question {
  padding: 18px 24px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #2D4059;
  font-size: 0.95rem;
}

.faq-item .faq-question::after {
  content: '+';
  font-size: 1.4rem;
  color: #FF6B6B;
  font-weight: 800;
  transition: transform 0.3s;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-item .faq-answer {
  padding: 0 24px 18px;
  display: none;
  opacity: 0.7;
  line-height: 1.7;
  font-size: 0.9rem;
}

.faq-item.open .faq-answer {
  display: block;
  animation: faq-fade 0.4s ease;
}

@keyframes faq-fade {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 0.7; transform: translateY(0); }
}

/* ============================================================
   CTA 横幅 — 蜜桃日落
   ============================================================ */
.cta-banner {
  padding: 70px 24px;
  text-align: center;
  border-radius: 32px;
  color: #fff;
  background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 60%, #FFAE3D 100%);
  box-shadow: 0 20px 50px rgba(255, 107, 107, 0.3);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 3px dashed rgba(255, 255, 255, 0.3);
  top: -60px;
  right: -60px;
}

.cta-banner::after {
  content: '';
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  bottom: -30px;
  left: 30px;
}

.cta-banner h2 {
  color: #fff;
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.92);
  max-width: 500px;
  margin: 0 auto 28px;
  position: relative;
  z-index: 1;
  line-height: 1.7;
}

.cta-banner .btn-primary {
  background: #fff;
  color: #FF6B6B;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1;
}

.cta-banner .btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.16);
}

/* ============================================================
   页脚 — 奶油蜜桃
   ============================================================ */
.site-footer {
  background: #FFF0EC;
  padding: 64px 0 32px;
  border-top: 2px solid rgba(255, 107, 107, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand {
  padding-right: 20px;
}

.footer-brand p {
  color: rgba(45, 64, 89, 0.7);
  font-size: 0.9rem;
  max-width: 280px;
  line-height: 1.8;
  margin-top: 14px;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: #2D4059;
  position: relative;
  display: inline-block;
}

.footer-col h4::after {
  content: '';
  display: block;
  width: 24px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, #FF6B6B, #FFAE3D);
  margin-top: 4px;
}

.footer-col a {
  display: block;
  color: rgba(45, 64, 89, 0.65);
  text-decoration: none;
  padding: 5px 0;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.footer-col a:hover {
  color: #FF6B6B;
  padding-left: 6px;
}

.footer-bottom {
  border-top: 2px solid rgba(255, 107, 107, 0.1);
  margin-top: 48px;
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(45, 64, 89, 0.65);
}

/* ============================================================
   工具类
   ============================================================ */
.text-accent {
  color: #FF6B6B;
}

.text-accent-secondary {
  color: #4ECDC4;
}

.text-center {
  text-align: center;
}

.seo-description {
  max-width: 600px;
  margin: 0 auto 48px;
  opacity: 0.7;
  text-align: center;
  line-height: 1.8;
}

.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

/* 选择文本的趣味样式 */
::selection {
  background: #FF6B6B;
  color: #fff;
}

/* 滚动条美化 */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #FFF9F0;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #FF6B6B, #FFAE3D);
  border-radius: 10px;
  border: 2px solid #FFF9F0;
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 992px) {
  .hero .container {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    max-width: 720px;
  }

  .hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-image {
    flex: 0 0 auto;
    width: 340px;
    margin-top: 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 80px 0;
  }

  .feature-block {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .feature-image {
    order: -1;
  }

  .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(255, 249, 240, 0.98);
    backdrop-filter: blur(20px);
    padding: 24px;
    border-bottom: 2px solid #FFE4E4;
    gap: 16px;
    box-shadow: 0 20px 30px rgba(255, 107, 107, 0.08);
  }

  .main-nav.open a {
    padding: 10px 0;
    font-size: 1rem;
  }

  .main-nav.open .nav-cta {
    text-align: center;
    padding: 14px !important;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.9rem;
  }

  .cta-banner h2 {
    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;
    align-items: center;
  }

  .hero-image {
    width: 100%;
    max-width: 300px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .stat-item {
    padding: 24px 16px;
  }

  .stat-number {
    font-size: 1.8rem;
  }
}