/* ==================================================
   C7娱乐 — 乐享非凡 · 杂志风轻奢设计系统
   Awwwards 获奖级 · 禁止黑色/深色背景
   配色：奶油白 + 暖杏 + 青绿 + 珊瑚粉
   独特风格：大幅圆角、柔和投影、层叠卡片、流体渐变
   ================================================== */

/* 基础重置 */
*, *::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: #FDF8F2;          /* 暖奶油色背景 */
  color: #3A2C24;                     /* 深棕灰文字 */
  line-height: 1.6;
}

/* 核心布局 — 居中 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
  position: relative;
}

.section:nth-child(even) {
  background: #FCF3EA;               /* 浅杏色交替 */
}

/* ========== 导航 ========== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(253, 248, 242, 0.92);  /* 与背景同色系 */
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #E8D9CC;
  transition: box-shadow 0.3s;
}
.site-header:hover {
  box-shadow: 0 4px 20px rgba(232, 180, 128, 0.15);
}

.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.4rem;
  text-decoration: none;
  color: #D9604B;            /* 珊瑚红品牌色 */
  letter-spacing: -0.5px;
}
.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  background: #FFD166;        /* 亮黄色圆 */
  color: #3A2C24;
  box-shadow: 0 4px 8px rgba(217, 96, 75, 0.2);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: #5C4A3A;
  position: relative;
  transition: color 0.3s;
  padding: 4px 0;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2.5px;
  background: #2EC4B6;        /* 青绿下划线 */
  border-radius: 4px;
  transition: width 0.3s ease;
}
.main-nav a:hover {
  color: #D9604B;
}
.main-nav a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 8px 22px;
  border-radius: 40px;
  color: #fff !important;
  font-weight: 600;
  background: linear-gradient(135deg, #FF8C42, #D9604B);
  box-shadow: 0 4px 12px rgba(217, 96, 75, 0.3);
  transition: transform 0.2s, box-shadow 0.3s;
}
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(217, 96, 75, 0.4);
}
.nav-cta::after { display: none; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.menu-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: #5C4A3A;
  border-radius: 6px;
  transition: 0.3s;
}

/* ========== Hero ========== */
.hero {
  min-height: 75vh;
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, #FDF8F2 0%, #F8EDE0 40%, #FFF3E6 100%);
  padding-top: 72px; /* 给固定导航留空间 */
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.hero-content {
  max-width: 640px;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 3px;
  padding: 6px 18px;
  border-radius: 40px;
  margin-bottom: 20px;
  background: #FFD166;
  color: #3A2C24;
  text-transform: uppercase;
}

.hero h1 {
  font-size: 3.2rem;
  line-height: 1.15;
  margin-bottom: 20px;
  font-weight: 800;
  color: #2C1E16;
}
.hero h1::first-letter {
  color: #D9604B;
}

.hero p {
  font-size: 1.15rem;
  opacity: 0.7;
  max-width: 500px;
  margin-bottom: 36px;
  color: #5C4A3A;
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

.hero-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(217, 96, 75, 0.15);
  transform: rotate(-2deg);
  transition: transform 0.4s ease;
}
.hero-image:hover {
  transform: rotate(0deg) scale(1.01);
}
.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 40px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1rem;
}
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #2EC4B6, #20B2AA);
  box-shadow: 0 4px 12px rgba(46, 196, 182, 0.3);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(46, 196, 182, 0.4);
}
.btn-outline {
  background: transparent;
  border: 2px solid #D9604B;
  color: #D9604B;
}
.btn-outline:hover {
  background: #D9604B;
  color: #fff;
}

/* ========== 标签/标题 ========== */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 12px;
  text-transform: uppercase;
  color: #2EC4B6;
  background: #E0F7F4;
  padding: 4px 12px;
  border-radius: 30px;
}
.section-title {
  font-size: 2.4rem;
  margin-bottom: 16px;
  font-weight: 800;
  color: #2C1E16;
}
.section-desc {
  max-width: 600px;
  opacity: 0.7;
  margin-bottom: 44px;
  color: #5C4A3A;
  font-size: 1.05rem;
}

/* ========== 卡片网格 ========== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}
.category-card {
  border-radius: 20px;
  padding: 32px 28px;
  border: 1px solid #E8D9CC;
  background: #fff;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, #FF8C42, #D9604B);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(217, 96, 75, 0.12);
  border-color: #FF8C42;
}
.category-card:hover::before {
  transform: scaleX(1);
}
.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
  background: #F8EDE0;
  color: #D9604B;
}
.card-link {
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  color: #2EC4B6;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.3s;
}
.card-link:hover {
  gap: 12px;
  color: #D9604B;
}
.card-link::after {
  content: '→';
}

/* ========== 特性块 ========== */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.feature-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 28px rgba(217, 96, 75, 0.1);
}
.feature-image img {
  width: 100%;
  height: auto;
  display: block;
}
.feature-text .section-title {
  margin-bottom: 20px;
}
.feature-list {
  list-style: none;
  margin-top: 24px;
}
.feature-list li {
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
}
.feature-list li::before {
  content: '✦';
  font-weight: 700;
  color: #FF8C42;
  font-size: 1.2rem;
}

/* ========== 数据条 ========== */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-item {
  padding: 28px 20px;
  border-radius: 20px;
  border: 1px solid #E8D9CC;
  background: #fff;
  transition: transform 0.3s, box-shadow 0.3s;
}
.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(46, 196, 182, 0.12);
}
.stat-number {
  font-size: 2.6rem;
  font-weight: 800;
  color: #D9604B;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 0.95rem;
  opacity: 0.6;
  margin-top: 6px;
  color: #5C4A3A;
}

/* ========== 内容墙 ========== */
.content-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}
.content-wall-item {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #E8D9CC;
  background: #fff;
  transition: all 0.3s ease;
}
.content-wall-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(46, 196, 182, 0.12);
}
.content-wall-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.content-wall-body {
  padding: 24px;
}
.content-wall-body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.content-wall-body p {
  opacity: 0.7;
  font-size: 0.95rem;
}

/* ========== FAQ ========== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  border: 1px solid #E8D9CC;
  border-radius: 16px;
  margin-bottom: 10px;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  transition: box-shadow 0.3s;
}
.faq-item:hover {
  box-shadow: 0 4px 12px rgba(217, 96, 75, 0.08);
}
.faq-item .faq-question {
  padding: 18px 24px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #2C1E16;
}
.faq-item .faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: #D9604B;
  transition: transform 0.3s;
}
.faq-item.open .faq-question::after {
  content: '−';
  transform: rotate(180deg);
}
.faq-item .faq-answer {
  padding: 0 24px 20px;
  display: none;
  opacity: 0.7;
  color: #5C4A3A;
}
.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, #FF8C42, #D9604B, #C94A4A);
  box-shadow: 0 20px 40px rgba(217, 96, 75, 0.25);
}
.cta-banner h2 {
  color: #fff;
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 16px;
}
.cta-banner p {
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  margin: 0 auto 32px;
}
.cta-banner .btn-primary {
  background: #fff;
  color: #D9604B;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* ========== 页脚 ========== */
.site-footer {
  padding: 60px 0 28px;
  background: #F8EDE0;          /* 浅杏色 */
  color: #5C4A3A;
}
.site-footer .container {
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand {
}
.footer-brand .logo {
  color: #D9604B;
  margin-bottom: 12px;
}
.footer-brand p {
  opacity: 0.7;
  font-size: 0.9rem;
  margin-bottom: 16px;
}
.footer-col h4 {
  font-weight: 700;
  margin-bottom: 16px;
  color: #2C1E16;
}
.footer-col ul {
  list-style: none;
}
.footer-col ul li {
  margin-bottom: 8px;
}
.footer-col ul li a {
  text-decoration: none;
  color: #5C4A3A;
  opacity: 0.7;
  transition: opacity 0.3s, padding-left 0.3s;
}
.footer-col ul li a:hover {
  opacity: 1;
  padding-left: 4px;
  color: #D9604B;
}

.footer-bottom {
  border-top: 1px solid rgba(92, 74, 58, 0.15);
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.6;
}

/* ========== 工具类 ========== */
.text-accent {
  color: #D9604B;
  font-weight: 700;
}
.text-center {
  text-align: center;
}
.seo-description {
  max-width: 600px;
  margin: 0 auto 48px;
  opacity: 0.7;
  color: #5C4A3A;
}
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ========== 响应式 ========== */
@media (max-width: 768px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-image {
    order: -1;
    transform: none;
    max-width: 80%;
    margin: 0 auto;
  }
  .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;
  }
  .menu-toggle {
    display: flex;
  }
  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: #FDF8F2;
    padding: 24px 20px;
    gap: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    border-bottom: 1px solid #E8D9CC;
  }
  .main-nav.open a {
    font-size: 1.1rem;
  }
  .hero h1 {
    font-size: 2.4rem;
  }
  .section-title {
    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;
    gap: 12px;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .btn {
    justify-content: center;
  }
}