/* =========================================================
   猫咪tv — 设计系统 / “日暖镜头”
   暖纸米白 + 陶土珊瑚 + 鼠尾草绿 + 光影圆镜
   ========================================================= */

:root {
  --paper: #FAF5ED;
  --paper-deeper: #F1E9DC;
  --cream: #FFFCF7;
  --ink: #2C2823;
  --muted: #6F685F;
  --coral: #DC5841;
  --teal: #176B58;
  --gold: #F1AA49;
  --line: rgba(44, 40, 35, 0.09);
  --shadow-sm: 0 2px 10px rgba(44, 40, 35, 0.04);
  --shadow-md: 0 10px 30px -8px rgba(44, 40, 35, 0.12);
  --shadow-lg: 0 28px 70px -20px rgba(44, 40, 35, 0.22);
}

/* 基础重置 */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  overflow-x: hidden;
  color: var(--ink);
  line-height: 1.7;
  background-color: var(--paper);
  background-image:
    radial-gradient(70% 40% at 88% 5%, rgba(241, 170, 73, 0.08) 0%, transparent 60%),
    radial-gradient(55% 35% at 5% 80%, rgba(23, 107, 88, 0.07) 0%, transparent 60%),
    radial-gradient(45% 35% at 45% 110%, rgba(220, 88, 65, 0.09) 0%, transparent 60%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--gold);
  color: var(--ink);
}

/* ---------- 核心布局 ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

.section:nth-child(even) {
  background: var(--paper-deeper);
}

/* ---------- 导航 ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(250, 245, 237, 0.82);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 24px rgba(44, 40, 35, 0.02);
}

.site-header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--coral), var(--gold), var(--teal), transparent);
  opacity: 0.4;
}

.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: 12px;
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: inherit;
}

.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px 12px 12px 3px;
  background: linear-gradient(135deg, var(--coral), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  color: #fff;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.06);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}

.main-nav a {
  position: relative;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  opacity: 0.72;
  transition: opacity 0.2s;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  height: 2px;
  width: 0;
  background: var(--coral);
  border-radius: 2px;
  transition: width 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.main-nav a:hover {
  opacity: 1;
}

.main-nav a:hover::after {
  width: 100%;
}

.main-nav a.nav-cta {
  background: var(--coral);
  color: #fff !important;
  opacity: 1;
  padding: 9px 22px;
  border-radius: 999px;
  font-size: 0.88rem;
  box-shadow: 0 3px 0 0 var(--teal);
  transition: transform 0.2s, box-shadow 0.2s;
}

.main-nav a.nav-cta::after {
  display: none;
}

.main-nav a.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 0 var(--teal);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.6);
  border-radius: 14px 14px 14px 4px;
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--ink);
}

/* ---------- Hero ---------- */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: 120px 0 72px;
  flex-wrap: wrap;
}

.hero .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 56px;
  width: 100%;
}

.hero-content {
  flex: 1 1 480px;
  max-width: 640px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 7px 18px;
  border-radius: 999px;
  letter-spacing: 0.08em;
  color: var(--teal);
  margin-bottom: 22px;
}

.hero-eyebrow::before {
  content: '';
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 3px rgba(220, 88, 65, 0.15);
}

.hero h1 {
  font-size: clamp(2.6rem, 5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero p {
  font-size: 1.13rem;
  color: var(--muted);
  max-width: 540px;
  margin-bottom: 36px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
  flex: 1 1 360px;
  max-width: 440px;
  margin: 0 auto;
}

.hero-image img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  border: 10px solid rgba(255, 255, 255, 0.9);
  outline: 1px solid rgba(220, 88, 65, 0.18);
  outline-offset: 8px;
  background: var(--paper-deeper);
  box-shadow: var(--shadow-lg);
}

.hero h1 .text-accent {
  background: linear-gradient(105deg, var(--coral) 15%, var(--gold) 85%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 30px;
  border-radius: 999px 14px 999px 14px;
  font-weight: 700;
  font-family: inherit;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--coral), #E27963);
  color: #fff;
  box-shadow: 0 10px 24px -8px rgba(220, 88, 65, 0.55);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px -10px rgba(220, 88, 65, 0.6);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.72);
  border: 1.5px solid var(--ink);
  color: var(--ink);
}

.btn-outline:hover {
  transform: translateY(-3px);
  border-color: var(--teal);
  color: var(--teal);
}

/* ---------- 标题标签 ---------- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--coral);
  background: rgba(220, 88, 65, 0.07);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.section-label::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.section-title {
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 900;
  line-height: 1.18;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.section-desc {
  color: var(--muted);
  max-width: 620px;
  margin-bottom: 52px;
}

/* ---------- 卡片网格 ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 26px;
}

.category-card {
  background: var(--cream);
  padding: 30px;
  border-radius: 24px 8px 24px 8px;
  border: 1px solid var(--line);
  box-shadow: 6px 6px 0 rgba(44, 40, 35, 0.035);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s;
}

.category-card:nth-child(1) {
  border-top: 4px solid var(--coral);
}

.category-card:nth-child(2) {
  border-top: 4px solid var(--gold);
}

.category-card:nth-child(3) {
  border-top: 4px solid var(--teal);
}

.category-card:nth-child(4) {
  border-top: 4px solid var(--coral);
}

.category-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 8px 8px 0 rgba(220, 88, 65, 0.06);
}

.card-icon {
  width: 54px;
  height: 54px;
  border-radius: 18px 6px 18px 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
  background: rgba(23, 107, 88, 0.12);
  color: var(--teal);
}

.category-card:nth-child(even) .card-icon {
  background: rgba(220, 88, 65, 0.1);
  color: var(--coral);
}

.category-card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.category-card p {
  color: var(--muted);
  font-size: 0.93rem;
  margin-bottom: 16px;
}

.card-link {
  display: inline-block;
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--coral);
  text-decoration: none;
}

.card-link:hover {
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
}

/* ---------- 特性块 ---------- */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.feature-image img {
  width: 100%;
  border-radius: 28px 6px 28px 6px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}

.feature-text h3 {
  font-size: 1.4rem;
  margin-bottom: 14px;
  line-height: 1.3;
}

.feature-text p {
  color: var(--muted);
  margin-bottom: 20px;
}

.feature-list {
  list-style: none;
  margin-top: 8px;
}

.feature-list li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.feature-list li::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(23, 107, 88, 0.1);
  color: var(--teal);
  font-weight: 900;
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* ---------- 数据条 ---------- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  text-align: center;
}

.stat-item {
  padding: 34px 18px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 24px 8px 24px 8px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s;
}

.stat-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.stat-number {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
  background: linear-gradient(145deg, var(--coral), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.stat-label {
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 10px;
}

/* ---------- 内容墙 ---------- */
.content-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 26px;
}

.content-wall-item {
  background: var(--cream);
  border-radius: 24px 8px 24px 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 6px 6px 0 rgba(44, 40, 35, 0.035);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s;
}

.content-wall-item:hover {
  transform: translate(-4px, -4px);
  box-shadow: 8px 8px 0 rgba(23, 107, 88, 0.06);
}

.content-wall-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.content-wall-body {
  padding: 22px 24px 26px;
}

.content-wall-body h3 {
  font-size: 1.12rem;
  margin-bottom: 6px;
}

.content-wall-body p {
  color: var(--muted);
  font-size: 0.9rem;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
}

.faq-item {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 18px 6px 18px 6px;
  margin-bottom: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s;
}

.faq-item.open {
  box-shadow: var(--shadow-md);
}

.faq-item .faq-question {
  padding: 22px 26px;
  font-weight: 700;
  font-size: 1.02rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  cursor: pointer;
}

.faq-item .faq-question::after {
  content: '+';
  font-size: 1.7rem;
  font-weight: 400;
  color: var(--coral);
  line-height: 1;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-item .faq-answer {
  padding: 0 26px 22px;
  display: none;
  color: var(--muted);
  font-size: 0.95rem;
}

.faq-item.open .faq-answer {
  display: block;
  animation: fade-up 0.25s ease-out;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- CTA横幅 ---------- */
.cta-banner {
  padding: 64px 32px;
  text-align: center;
  border-radius: 30px 10px 30px 10px;
  color: #fff;
  background: linear-gradient(120deg, var(--coral), var(--gold) 130%);
  box-shadow: 0 28px 60px -16px rgba(220, 88, 65, 0.5);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -90px;
  right: -40px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.25), transparent 65%);
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: -20px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15), transparent 65%);
}

.cta-banner h2 {
  position: relative;
  color: #fff;
  font-size: clamp(2rem, 3.4vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.cta-banner p {
  position: relative;
  color: rgba(255, 255, 255, 0.85);
  max-width: 440px;
  margin: 0 auto 28px;
  font-size: 1rem;
}

.cta-banner .btn-primary {
  position: relative;
  background: #fff;
  color: var(--coral);
  box-shadow: 0 8px 20px -6px rgba(44, 40, 35, 0.25);
}

.cta-banner .btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px -8px rgba(44, 40, 35, 0.3);
}

/* ---------- 页脚 ---------- */
.site-footer {
  background: var(--paper-deeper);
  border-top: 1px solid var(--line);
  padding: 72px 0 24px;
  color: var(--ink);
  margin-top: 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand p {
  color: var(--muted);
  margin-top: 18px;
  font-size: 0.92rem;
  max-width: 260px;
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 18px;
  letter-spacing: 0.06em;
}

.footer-col a {
  display: block;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.93rem;
  padding: 5px 0;
  transition: color 0.2s, transform 0.2s;
  max-width: max-content;
}

.footer-col a:hover {
  color: var(--coral);
  transform: translateX(3px);
}

.footer-bottom {
  border-top: 1px solid rgba(44, 40, 35, 0.08);
  margin-top: 48px;
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ---------- 工具类 ---------- */
.text-accent {
  color: var(--coral);
}

.text-center {
  text-align: center;
}

.seo-description {
  max-width: 620px;
  margin: 0 auto 56px;
  text-align: center;
  color: var(--muted);
}

.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

/* 通用标题呼吸 */
h1, h2, h3, h4 {
  line-height: 1.2;
}

/* ---------- 响应式 ---------- */
@media (max-width: 768px) {
  .section {
    padding: 64px 0;
  }

  .hero {
    padding-top: 108px;
    min-height: auto;
  }

  .hero .container {
    gap: 48px;
  }

  .hero-image {
    max-width: 340px;
  }

  .hero-image img {
    border-width: 8px;
    outline-offset: 6px;
  }

  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: rgba(255, 253, 247, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 18px 24px 24px;
    gap: 18px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }

  .main-nav.open a {
    display: inline-block;
    font-size: 1.1rem;
  }

  .main-nav.open a.nav-cta {
    text-align: center;
    margin-top: 6px;
  }

  .feature-block {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .feature-image img {
    aspect-ratio: 3 / 2;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .stat-item {
    padding: 24px 12px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .cta-banner {
    padding: 48px 20px;
  }
}

@media (max-width: 480px) {
  .cards-grid,
  .content-wall,
  .stats-bar {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .header-inner {
    padding: 0 16px;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 9vw, 3rem);
  }

  .hero-image {
    max-width: 260px;
  }

  .section-title {
    font-size: 1.7rem;
  }
}