/* ==========================================================
   玩美×玩媚 · 马卡龙贴纸美学设计系统
   ========================================================== */

/* ---------- 基础重置 ---------- */
*, *::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: #FFF8F0;
  background-image: radial-gradient(#FFE3D0 1.2px, transparent 1.2px);
  background-size: 26px 26px;
  color: #4A2B3A;
  min-height: 100vh;
  line-height: 1.6;
}

::selection {
  background: #FF6B6B;
  color: #FFF8F0;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #FFF8F0;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #FFB4A2, #C3AED6);
  border-radius: 10px;
  border: 2px solid #FFF8F0;
}

/* ---------- 核心布局 ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  position: relative;
  padding: 80px 0;
}

.section:nth-child(even) {
  background: #FFF3EE;
}

/* ---------- 导航 ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 248, 240, 0.82);
  backdrop-filter: blur(24px) saturate(1.6);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  border-bottom: 2px dashed #FFB4A2;
}

.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: #4A2B3A;
  letter-spacing: 0.5px;
}

.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  background: linear-gradient(135deg, #FFD93D, #FF6B6B);
  color: #fff;
  box-shadow: 0 4px 14px rgba(255, 107, 107, 0.35);
  transform: rotate(-8deg);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.logo:hover .logo-icon {
  transform: rotate(8deg) scale(1.1);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: #4A2B3A;
  transition: color 0.3s ease;
  position: relative;
  padding: 6px 2px;
}

.main-nav a:hover {
  color: #FF6B6B;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, #FF6B6B, #FFD93D);
  transition: width 0.35s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 9px 24px !important;
  border-radius: 50px !important;
  background: linear-gradient(135deg, #FF6B6B, #FF8E53) !important;
  color: #fff !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 16px rgba(255, 107, 107, 0.3);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.nav-cta:hover {
  transform: translateY(-2px) rotate(-2deg) scale(1.04);
  box-shadow: 0 8px 24px rgba(255, 107, 107, 0.4);
}

.nav-cta::after {
  display: none !important;
}

.menu-toggle {
  display: none;
  background: none;
  border: 2px solid #FFB4A2;
  border-radius: 12px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  cursor: pointer;
  color: #4A2B3A;
  transition: all 0.3s ease;
}

.menu-toggle:hover {
  background: #FFF0F0;
  border-color: #FF6B6B;
}

/* ---------- 动画 ---------- */
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-16px) rotate(2deg); }
}

@keyframes floatReverse {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(12px) rotate(-3deg); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12) rotate(5deg); }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0) scale(1); }
  40% { transform: translateY(-6px) scale(1.03); }
  70% { transform: translateY(-2px) scale(1.01); }
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-primary {
  background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
  color: #fff;
  box-shadow: 0 8px 24px rgba(255, 107, 107, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 32px rgba(255, 107, 107, 0.4);
  animation: bounce 0.6s ease;
}

.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 8px 20px rgba(255, 107, 107, 0.12);
}

/* ---------- Hero ---------- */
.section.hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 0 80px;
  background: linear-gradient(135deg, #FFE8D6 0%, #FFF0F0 50%, #F3E8FF 100%);
  overflow: hidden;
  position: relative;
}

.section.hero::before {
  content: '';
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 107, 0.18), transparent 70%);
  top: -120px;
  right: 3%;
  animation: float 8s ease-in-out infinite alternate;
  z-index: 1;
}

.section.hero::after {
  content: '';
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(195, 174, 214, 0.22), transparent 70%);
  bottom: -80px;
  left: 6%;
  animation: floatReverse 10s ease-in-out infinite alternate;
  z-index: 1;
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 64px;
  width: 100%;
  position: relative;
  z-index: 2;
}

.hero-content {
  flex: 1.1;
  max-width: 720px;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 6px 20px;
  border-radius: 50px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #FFD93D, #FF6B6B);
  color: #fff;
  box-shadow: 0 4px 16px rgba(255, 107, 107, 0.3);
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.15;
  margin-bottom: 20px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #4A2B3A;
  text-shadow: 2px 2px 0 #FFF0F0, 4px 4px 0 rgba(255, 107, 107, 0.16);
}

.hero p {
  font-size: 1.08rem;
  opacity: 0.68;
  max-width: 560px;
  margin-bottom: 32px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image {
  flex: 0.9;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  transform: rotate(2deg);
  box-shadow: 0 20px 48px rgba(255, 107, 107, 0.18), 0 4px 12px rgba(74, 43, 58, 0.08);
  border: 6px solid #fff;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-image:hover {
  transform: rotate(0deg) scale(1.02);
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
  min-height: 260px;
  object-fit: cover;
}

/* ---------- 标签/标题 ---------- */
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: #FF6B6B;
  background: rgba(255, 107, 107, 0.08);
  padding: 5px 16px;
  border-radius: 50px;
}

.section-title {
  position: relative;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 24px;
  font-weight: 900;
  color: #4A2B3A;
  letter-spacing: -0.02em;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 52px;
  height: 5px;
  border-radius: 5px;
  background: linear-gradient(90deg, #FF6B6B, #FFD93D);
}

.text-center .section-title::after {
  left: 50%;
  transform: translateX(-50%);
}

.section-desc {
  max-width: 600px;
  opacity: 0.65;
  margin-bottom: 40px;
  line-height: 1.8;
  font-size: 0.95rem;
}

/* ---------- 卡片网格 ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}

.category-card {
  border-radius: 24px;
  padding: 32px 28px;
  border: 2px solid transparent;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 8px 24px rgba(74, 43, 58, 0.07);
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  top: -20px;
  right: -20px;
  transition: transform 0.5s ease;
}

.category-card:nth-child(3n+1) {
  background: linear-gradient(135deg, #FFF0E8, #FFE3D0);
}

.category-card:nth-child(3n+2) {
  background: linear-gradient(135deg, #F3E8FF, #E8D9F7);
}

.category-card:nth-child(3n) {
  background: linear-gradient(135deg, #E8FFF5, #D0F5E8);
}

.category-card:hover {
  transform: translateY(-6px) rotate(-1deg);
  box-shadow: 0 16px 40px rgba(74, 43, 58, 0.12);
  border-color: rgba(255, 107, 107, 0.35);
}

.category-card:hover::before {
  transform: scale(1.6);
}

.category-card h3 {
  font-size: 1.08rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: #4A2B3A;
}

.category-card p {
  font-size: 0.85rem;
  opacity: 0.65;
  line-height: 1.6;
  margin-bottom: 16px;
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.4rem;
  background: linear-gradient(135deg, #FF6B6B, #FFB4A2);
  color: #fff;
  box-shadow: 0 6px 16px rgba(255, 107, 107, 0.25);
  transition: transform 0.3s ease;
}

.category-card:nth-child(3n+2) .card-icon {
  background: linear-gradient(135deg, #C3AED6, #E0CFF7);
  box-shadow: 0 6px 16px rgba(195, 174, 214, 0.35);
}

.category-card:nth-child(3n) .card-icon {
  background: linear-gradient(135deg, #7EDDB0, #A8E6CF);
  box-shadow: 0 6px 16px rgba(126, 221, 176, 0.3);
}

.category-card:hover .card-icon {
  animation: pulse 0.6s ease-in-out;
}

.card-link {
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  color: #FF6B6B;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.3s ease;
}

.card-link:hover {
  gap: 10px;
}

/* ---------- 特性块 ---------- */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.feature-image {
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  border: 8px solid #fff;
  box-shadow: 0 16px 40px rgba(74, 43, 58, 0.12);
  transform: rotate(-2deg);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.feature-image:hover {
  transform: rotate(0deg) scale(1.01);
}

.feature-image img {
  width: 100%;
  height: auto;
  display: block;
}

.feature-text {
  position: relative;
  z-index: 2;
}

.feature-list {
  list-style: none;
  margin-top: 8px;
}

.feature-list li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: #4A2B3A;
}

.feature-list li::before {
  content: '✦';
  font-weight: 700;
  color: #FF6B6B;
  font-size: 1.1rem;
  text-shadow: 0 2px 6px rgba(255, 107, 107, 0.25);
}

/* ---------- 数据条 ---------- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  text-align: center;
}

.stat-item {
  position: relative;
  padding: 32px 24px;
  border-radius: 24px;
  border: 2px dashed #FFE0D0;
  background: #fff;
  box-shadow: 0 8px 24px rgba(255, 107, 107, 0.07);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.stat-item::before {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #FFD93D;
  top: 16px;
  right: 16px;
  box-shadow: 0 0 10px #FFD93D;
}

.stat-item:hover {
  transform: scale(1.04) rotate(1deg);
  border-color: #FFB4A2;
  box-shadow: 0 12px 32px rgba(255, 107, 107, 0.14);
}

.stat-number {
  font-size: 2.4rem;
  font-weight: 900;
  color: #FF6B6B;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.6;
  margin-top: 6px;
  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;
  border: none;
  background: #fff;
  box-shadow: 0 8px 24px rgba(74, 43, 58, 0.08);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.content-wall-item:nth-child(2n) {
  transform: rotate(1.2deg);
}

.content-wall-item:nth-child(2n+1) {
  transform: rotate(-1.2deg);
}

.content-wall-item:hover {
  transform: translateY(-8px) rotate(0deg);
  box-shadow: 0 18px 44px rgba(255, 107, 107, 0.16);
}

.content-wall-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.6s ease;
  display: block;
}

.content-wall-item:hover img {
  transform: scale(1.06);
}

.content-wall-body {
  padding: 20px 24px 24px;
}

.content-wall-body h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: #4A2B3A;
}

.content-wall-body p {
  font-size: 0.85rem;
  opacity: 0.62;
  line-height: 1.5;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 2px solid #FFE8D6;
  border-radius: 20px;
  margin-bottom: 12px;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  transition: all 0.35s ease;
}

.faq-item:hover {
  border-color: #FF6B6B;
  box-shadow: 0 6px 20px rgba(255, 107, 107, 0.1);
}

.faq-item .faq-question {
  padding: 18px 24px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
  color: #4A2B3A;
}

.faq-item .faq-question::after {
  content: '＋';
  font-size: 1.4rem;
  font-weight: 400;
  color: #FF6B6B;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.faq-item.open .faq-question::after {
  transform: rotate(135deg);
}

.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: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- CTA横幅 ---------- */
.cta-banner {
  position: relative;
  padding: 64px 48px;
  text-align: center;
  border-radius: 32px;
  background: linear-gradient(135deg, #FF6B6B 10%, #FF8E53 55%, #FFB04D 120%);
  color: #fff;
  overflow: hidden;
  box-shadow: 0 20px 44px rgba(255, 107, 107, 0.22);
}

.cta-banner::before {
  content: '';
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 217, 61, 0.22);
  top: -70px;
  right: -50px;
  animation: float 7s ease-in-out infinite alternate;
}

.cta-banner::after {
  content: '';
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  bottom: -35px;
  left: 6%;
  animation: floatReverse 9s ease-in-out infinite alternate;
}

.cta-banner h2 {
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 12px;
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 480px;
  margin: 0 auto 28px;
  font-size: 0.95rem;
  position: relative;
  z-index: 2;
}

.cta-banner .btn-primary {
  background: #fff;
  color: #FF6B6B;
  box-shadow: 0 8px 24px rgba(74, 43, 58, 0.15);
  position: relative;
  z-index: 2;
}

.cta-banner .btn-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 32px rgba(74, 43, 58, 0.2);
}

/* ---------- 页脚 ---------- */
.site-footer {
  padding: 56px 0 28px;
  background: #FFE8D6;
  border-radius: 48px 48px 0 0;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand {
  color: #4A2B3A;
}

.footer-brand .logo {
  font-size: 1.2rem;
}

.footer-brand p {
  opacity: 0.6;
  line-height: 1.7;
  margin-top: 12px;
  font-size: 0.9rem;
  max-width: 280px;
}

.footer-col h4 {
  margin-bottom: 16px;
  color: #4A2B3A;
  font-size: 0.95rem;
  letter-spacing: 1px;
}

.footer-col a {
  display: block;
  padding: 5px 0;
  color: rgba(74, 43, 58, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.25s ease;
}

.footer-col a:hover {
  color: #FF6B6B;
  padding-left: 6px;
}

.footer-bottom {
  border-top: 2px dashed rgba(74, 43, 58, 0.15);
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(74, 43, 58, 0.6);
}

/* ---------- 工具类 ---------- */
.text-accent {
  color: #FF6B6B;
  font-weight: 700;
  text-decoration: underline wavy rgba(255, 107, 107, 0.4);
  text-underline-offset: 5px;
  text-decoration-thickness: 2px;
}

.text-center {
  text-align: center;
}

.seo-description {
  max-width: 600px;
  margin: 0 auto 48px;
  opacity: 0.65;
  line-height: 1.9;
  font-size: 0.92rem;
}

.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

/* ---------- 响应式 ---------- */
@media (max-width: 992px) {
  .hero .container {
    gap: 40px;
  }
  
  .hero-content {
    flex: 1.2;
  }
  
  .hero-image {
    flex: 0.8;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 32px;
  }
  
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }

  .section.hero {
    padding: 110px 0 60px;
  }

  .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;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(255, 248, 240, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 20px 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    box-shadow: 0 16px 40px rgba(74, 43, 58, 0.14);
    border-bottom: 2px dashed #FFB4A2;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 12px 16px;
    border-radius: 14px;
    font-size: 1rem;
  }

  .main-nav a:hover {
    background: rgba(255, 107, 107, 0.08);
  }

  .main-nav a::after {
    display: none;
  }

  .nav-cta {
    text-align: center;
    padding: 14px 16px !important;
  }

  .menu-toggle {
    display: flex;
  }

  .hero .container {
    flex-direction: column;
    gap: 40px;
  }

  .hero-content {
    max-width: 100%;
    text-align: center;
  }

  .hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-image {
    width: 100%;
    transform: rotate(0deg);
  }

  .hero-image:hover {
    transform: scale(1.01);
  }

  .cta-banner {
    padding: 48px 28px;
    border-radius: 24px;
  }
}

@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;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .stat-item {
    padding: 24px 16px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .cta-banner {
    padding: 40px 20px;
  }

  .cta-banner h2 {
    font-size: 1.4rem;
  }
}