/* 花猫导航 - 独特视觉风格 */
/* 灵感：柔光水彩 + 猫系治愈 + 渐变玻璃质感 */

*, *::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: #fefcf7;
  color: #3d2c1e;
}

/* 核心布局 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
  position: relative;
}

.section:nth-child(even) {
  background: linear-gradient(135deg, #f8f4ee 0%, #fefcf7 100%);
}

/* 导航 — 柔光玻璃 */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(254, 252, 247, 0.85);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(235, 215, 195, 0.4);
}

.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: 700;
  font-size: 1.25rem;
  text-decoration: none;
  color: #3d2c1e;
  letter-spacing: 1px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  background: linear-gradient(135deg, #f7c8b0, #e8a98d);
  color: #fff;
  box-shadow: 0 4px 12px rgba(232, 169, 141, 0.3);
}

.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: #5a4a3a;
  transition: all 0.3s ease;
  position: relative;
  padding: 4px 0;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #e8a98d, #f7c8b0);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.main-nav a:hover {
  color: #d4836a;
}

.main-nav a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 24px;
  border-radius: 50px;
  color: #fff !important;
  font-weight: 600;
  background: linear-gradient(135deg, #e8a98d, #d4836a);
  box-shadow: 0 4px 14px rgba(232, 169, 141, 0.35);
  transition: all 0.3s ease !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 169, 141, 0.45);
  color: #fff !important;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: #5a4a3a;
  border-radius: 2px;
  transition: 0.3s;
}

/* 首页Hero — 水彩猫主题 */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(135deg, #fefcf7 0%, #f8f0e8 50%, #fefcf7 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(247, 200, 176, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '🐱';
  position: absolute;
  bottom: 10%;
  left: 5%;
  font-size: 12rem;
  opacity: 0.06;
  pointer-events: none;
  transform: rotate(-10deg);
}

.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: 50px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(247, 200, 176, 0.35), rgba(232, 169, 141, 0.2));
  color: #d4836a;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: 3.2rem;
  line-height: 1.15;
  margin-bottom: 20px;
  color: #3d2c1e;
  font-weight: 800;
  letter-spacing: -1px;
}

.hero h1 span {
  background: linear-gradient(135deg, #e8a98d, #d4836a);
  -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;
  color: #5a4a3a;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

.hero-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(232, 169, 141, 0.15);
  position: relative;
}

.hero-image::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.3);
  pointer-events: none;
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* 按钮 — 圆润治愈 */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #e8a98d, #d4836a);
  box-shadow: 0 4px 16px rgba(232, 169, 141, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(232, 169, 141, 0.45);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid #d4836a;
  color: #d4836a;
}

.btn-outline:hover {
  background: rgba(232, 169, 141, 0.08);
  transform: translateY(-3px);
}

/* 标签/标题 */
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 12px;
  color: #d4836a;
  text-transform: uppercase;
}

.section-title {
  font-size: 2.2rem;
  margin-bottom: 14px;
  color: #3d2c1e;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.section-desc {
  max-width: 600px;
  opacity: 0.7;
  margin-bottom: 40px;
  line-height: 1.7;
  color: #5a4a3a;
}

/* 卡片网格 — 猫爪卡片 */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.category-card {
  border-radius: 20px;
  padding: 32px;
  border: 1px solid rgba(235, 215, 195, 0.4);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #f7c8b0, #e8a98d, #d4836a);
  border-radius: 20px 20px 0 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.category-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 40px rgba(232, 169, 141, 0.15);
  border-color: transparent;
}

.category-card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.4rem;
  background: linear-gradient(135deg, #f7c8b0, #e8a98d);
  color: #fff;
  box-shadow: 0 4px 12px rgba(232, 169, 141, 0.2);
}

.card-link {
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  color: #d4836a;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.3s ease;
}

.card-link:hover {
  gap: 12px;
}

/* 特性块 */
.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 48px rgba(232, 169, 141, 0.12);
  position: relative;
}

.feature-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.2);
  pointer-events: none;
}

.feature-image img {
  width: 100%;
  height: auto;
  display: block;
}

.feature-text {
  padding: 20px 0;
}

.feature-list {
  list-style: none;
}

.feature-list li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #5a4a3a;
}

.feature-list li::before {
  content: '🐾';
  font-weight: 700;
  font-size: 1rem;
}

/* 数据条 — 柔和色块 */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  padding: 32px 24px;
  border-radius: 20px;
  border: 1px solid rgba(235, 215, 195, 0.3);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(232, 169, 141, 0.1);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #e8a98d, #d4836a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.6;
  margin-top: 8px;
  color: #5a4a3a;
}

/* 内容墙 */
.content-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.content-wall-item {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(235, 215, 195, 0.3);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  background: #fff;
}

.content-wall-item:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 12px 40px rgba(232, 169, 141, 0.12);
}

.content-wall-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.content-wall-item:hover img {
  transform: scale(1.05);
}

.content-wall-body {
  padding: 24px;
}

.content-wall-body h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: #3d2c1e;
}

.content-wall-body p {
  opacity: 0.7;
  font-size: 0.9rem;
  color: #5a4a3a;
}

/* FAQ — 猫耳折叠 */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid rgba(235, 215, 195, 0.4);
  border-radius: 16px;
  margin-bottom: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(4px);
}

.faq-item:hover {
  border-color: rgba(232, 169, 141, 0.4);
}

.faq-item .faq-question {
  padding: 18px 24px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #3d2c1e;
  transition: background 0.3s ease;
}

.faq-item .faq-question::after {
  content: '↓';
  font-size: 1.2rem;
  transition: transform 0.3s ease;
  color: #d4836a;
}

.faq-item.open .faq-question::after {
  transform: rotate(180deg);
}

.faq-item .faq-answer {
  padding: 0 24px 18px;
  display: none;
  opacity: 0.75;
  color: #5a4a3a;
  line-height: 1.6;
}

.faq-item.open .faq-answer {
  display: block;
}

/* CTA横幅 — 渐变猫窝 */
.cta-banner {
  padding: 64px 24px;
  text-align: center;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(135deg, #e8a98d, #d4836a, #c4705a);
  box-shadow: 0 16px 48px rgba(232, 169, 141, 0.25);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '🐱';
  position: absolute;
  top: -20px;
  right: 30px;
  font-size: 6rem;
  opacity: 0.15;
  transform: rotate(15deg);
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-banner h2 {
  color: #fff;
  font-size: 2.2rem;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.cta-banner p {
  color: rgba(255,255,255,0.85);
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.cta-banner .btn-primary {
  background: #fff;
  color: #d4836a;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  position: relative;
  z-index: 1;
}

.cta-banner .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.15);
}

/* 页脚 — 暖沙色调 */
.site-footer {
  padding: 56px 0 28px;
  background: #f8f0e8;
  color: #5a4a3a;
  border-top: 1px solid rgba(235, 215, 195, 0.4);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand {
  font-size: 0.95rem;
  line-height: 1.7;
  opacity: 0.8;
}

.footer-col h4 {
  font-size: 0.95rem;
  margin-bottom: 16px;
  color: #3d2c1e;
  font-weight: 700;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  text-decoration: none;
  color: #5a4a3a;
  opacity: 0.7;
  transition: opacity 0.3s ease;
  font-size: 0.9rem;
}

.footer-col ul li a:hover {
  opacity: 1;
  color: #d4836a;
}

.footer-bottom {
  border-top: 1px solid rgba(235, 215, 195, 0.4);
  margin-top: 40px;
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.6;
}

/* 工具类 */
.text-accent {
  color: #d4836a;
}

.text-center {
  text-align: center;
}

.seo-description {
  max-width: 600px;
  margin: 0 auto 48px;
  opacity: 0.7;
  color: #5a4a3a;
  line-height: 1.7;
}

.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

/* 响应式 */
@media (max-width: 768px) {
  .feature-block {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  
  .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: rgba(254, 252, 247, 0.98);
    backdrop-filter: blur(16px);
    padding: 24px 32px;
    gap: 16px;
    border-bottom: 1px solid rgba(235, 215, 195, 0.3);
  }
  
  .hero h1 {
    font-size: 2.4rem;
  }
  
  .hero {
    min-height: 60vh;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .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;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
  
  .stat-item {
    padding: 24px 16px;
  }
  
  .stat-number {
    font-size: 2rem;
  }
}