/* ==========================================================================
   肥猫云 官方推广落地页样式表
   主题风格：轻快活力猫咪风 + 现代极简商务质感 (Honey Amber & Midnight Slate)
   ========================================================================== */

:root {
  --primary: #f59e0b;
  --primary-hover: #d97706;
  --primary-light: #fef3c7;
  --accent: #ff6b4a;
  --accent-light: #fff1ee;
  --dark: #0f172a;
  --slate: #334155;
  --muted: #64748b;
  --border: #e2e8f0;
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --bg-soft: #fffaf5;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 12px -2px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 24px -4px rgba(15, 23, 42, 0.12);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --container-width: 1200px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
  color: var(--slate);
  background-color: var(--bg-main);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

img, svg {
  display: block;
  max-width: 100%;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* 导航栏 */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--dark);
}

.brand-logo img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(245, 158, 11, 0.25);
}

.brand-tagline {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--primary);
  background: var(--primary-light);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-left: 4px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--slate);
}

.nav-link:hover {
  color: var(--primary);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #ffffff !important;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.45);
}

/* 通用按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  border-radius: var(--radius-full);
  transition: all 0.25s ease;
  cursor: pointer;
  text-align: center;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.45);
  color: #ffffff;
}

.btn-secondary {
  background: #ffffff;
  color: var(--dark);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--bg-soft);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
  padding: 12px 20px;
}

/* Hero 区域 */
.hero {
  position: relative;
  padding: 70px 0 60px;
  background: radial-gradient(circle at 80% 20%, #fff7ed 0%, #f8fafc 60%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--accent-light);
  color: var(--accent);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 20px;
  border: 1px solid #ffdcd4;
}

.hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.25;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.125rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 30px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.hero-perks {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-perk-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--slate);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual img {
  width: 100%;
  max-width: 440px;
  filter: drop-shadow(0 20px 30px rgba(245, 158, 11, 0.15));
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* 核心优势卡片 */
.section {
  padding: 80px 0;
}

.section-alt {
  background-color: var(--bg-card);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 50px;
}

.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  background-color: var(--primary-light);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.section-title {
  font-size: 2.15rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 14px;
  line-height: 1.3;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--muted);
}

/* 优势卡片网格 (3卡片) */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.feature-icon-box {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: var(--bg-soft);
  border: 1px solid #fed7aa;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 22px;
}

.feature-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.feature-desc {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.65;
}

/* 流媒体与 AI 支持图卡 */
.media-ai-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.media-ai-card {
  background: linear-gradient(145deg, #ffffff 0%, var(--bg-soft) 100%);
  border: 1px solid #fed7aa;
  border-radius: var(--radius-md);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.media-ai-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.media-ai-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.media-ai-badge {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
}

.media-ai-card-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--dark);
}

.media-ai-card-desc {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

.media-ai-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.media-ai-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #ffffff;
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

/* 价格对比表 - 强制同排 */
.pricing-section {
  padding: 80px 0;
  background: radial-gradient(circle at 20% 80%, #fff7ed 0%, #f8fafc 70%);
}

.pricing-grid-same-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.price-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.price-card.featured {
  border: 2px solid var(--primary);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.2);
  background: linear-gradient(180deg, #fffcf7 0%, #ffffff 100%);
}

.price-badge-top {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.price-header {
  text-align: center;
  border-bottom: 1px dashed var(--border);
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.plan-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 8px;
}

.plan-desc {
  font-size: 0.85rem;
  color: var(--muted);
  min-height: 38px;
}

.price-amount-box {
  margin: 16px 0 6px;
}

.price-currency {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
}

.price-num {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--dark);
  line-height: 1;
}

.price-cycle {
  font-size: 0.85rem;
  color: var(--muted);
}

.price-equivalent {
  font-size: 0.8rem;
  color: var(--primary-hover);
  font-weight: 600;
  background: var(--primary-light);
  display: inline-block;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-top: 4px;
}

.price-features {
  list-style: none;
  margin-bottom: 24px;
  flex-grow: 1;
}

.price-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--slate);
  margin-bottom: 12px;
}

.price-feature-item img {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* 文章推荐网格 (6卡片) */
.articles-section {
  padding: 80px 0;
  background-color: var(--bg-card);
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.article-card {
  background: var(--bg-main);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
}

.article-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.article-card-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  background-color: var(--primary-light);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  align-self: flex-start;
}

.article-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.4;
  margin-bottom: 10px;
}

.article-card-title a:hover {
  color: var(--primary);
}

.article-card-excerpt {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}

.article-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--muted);
}

.article-read-more {
  color: var(--primary);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.article-read-more:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

/* 常见问题 FAQ (纯 HTML 原生 details) */
.faq-section {
  padding: 80px 0;
  background-color: var(--bg-main);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item:hover {
  border-color: #fed7aa;
}

.faq-question {
  padding: 20px 24px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  user-select: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "＋";
  font-size: 1.25rem;
  color: var(--primary);
  font-weight: bold;
  transition: transform 0.2s ease;
}

details[open] .faq-question::after {
  content: "－";
  color: var(--accent);
}

.faq-answer {
  padding: 0 24px 22px;
  font-size: 0.95rem;
  color: var(--slate);
  line-height: 1.7;
  border-top: 1px dashed #f1f5f9;
  padding-top: 16px;
}

/* 用户真实评价 */
.reviews-section {
  padding: 80px 0;
  background-color: var(--bg-card);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: var(--bg-main);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.review-stars {
  color: #f59e0b;
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.review-text {
  font-size: 0.925rem;
  color: var(--slate);
  line-height: 1.65;
  margin-bottom: 18px;
}

.reviewer-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.reviewer-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary-hover);
}

.reviewer-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--dark);
}

.reviewer-role {
  font-size: 0.775rem;
  color: var(--muted);
}

/* 底部 CTA 横幅 */
.cta-banner {
  padding: 70px 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin: 0 auto;
}

.cta-banner-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.3;
}

.cta-banner-desc {
  font-size: 1.05rem;
  color: #cbd5e1;
  margin-bottom: 30px;
  line-height: 1.6;
}

/* 页脚 - 严格只保留四个标题，在新页面打开 */
.footer {
  background-color: #0b1120;
  color: #94a3b8;
  padding: 40px 0 30px;
  border-top: 1px solid #1e293b;
  text-align: center;
}

.footer-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.footer-link {
  color: #cbd5e1;
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--primary);
}

.footer-copy {
  font-size: 0.825rem;
  color: #64748b;
}

/* 文章详情页与独立页面专用样式 */
.page-header {
  padding: 50px 0 30px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 16px;
}

.breadcrumb a {
  color: var(--slate);
}

.breadcrumb a:hover {
  color: var(--primary);
}

.page-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.3;
  margin-bottom: 14px;
}

.page-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.85rem;
  color: var(--muted);
}

.content-wrapper {
  max-width: 860px;
  margin: 40px auto 80px;
  background: var(--bg-card);
  padding: 44px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.article-lead {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--dark);
  background: var(--bg-soft);
  border-left: 4px solid var(--primary);
  padding: 18px 22px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 30px;
}

.article-cta-box {
  background: linear-gradient(135deg, #fffbeb 0%, #fff7ed 100%);
  border: 1px solid #fde68a;
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 32px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.article-cta-text h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.article-cta-text p {
  font-size: 0.875rem;
  color: var(--muted);
  margin: 0;
}

.article-body h2 {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--dark);
  margin: 36px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #f1f5f9;
}

.article-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin: 26px 0 12px;
}

.article-body p {
  font-size: 1rem;
  color: var(--slate);
  line-height: 1.8;
  margin-bottom: 18px;
}

.article-body ul, .article-body ol {
  margin: 16px 0 24px 24px;
  line-height: 1.8;
  color: var(--slate);
}

.article-body li {
  margin-bottom: 8px;
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.925rem;
}

.article-body th, .article-body td {
  padding: 12px 16px;
  border: 1px solid var(--border);
  text-align: left;
}

.article-body th {
  background-color: #f8fafc;
  font-weight: 700;
  color: var(--dark);
}

.article-rel-links {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.article-rel-links h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.rel-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rel-list a {
  color: var(--primary-hover);
  font-size: 0.925rem;
  font-weight: 600;
}

.rel-list a:hover {
  text-decoration: underline;
}

/* 响应式断点适配 */
@media (max-width: 1024px) {
  .pricing-grid-same-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-perks {
    justify-content: center;
  }
  .pricing-grid-same-row {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .media-ai-grid {
    grid-template-columns: 1fr;
  }
  .articles-grid {
    grid-template-columns: 1fr;
  }
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .article-cta-box {
    flex-direction: column;
    text-align: center;
  }
  .content-wrapper {
    padding: 24px 18px;
    margin: 20px auto 40px;
  }
  .page-title {
    font-size: 1.75rem;
  }
  .nav-menu {
    display: none;
  }
}