/* 爱妻艺 - 匠心致爱意 | 柔光杂志风格 */
/* 配色方案：玫瑰粉 + 暖米白 + 淡金 + 珊瑚橙 */
/* 核心灵感：丝绸、光影、浪漫、手工质感 */

*, *::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: #fdf8f4;
  color: #4a3728;
  line-height: 1.6;
}

/* 核心布局 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section:nth-child(even) {
  background: #faf1eb;
}

/* 导航 — 固定顶部，半透明磨砂 */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(253, 248, 244, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(200, 170, 150, 0.25);
  transition: background 0.3s;
}

.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: 700;
  font-size: 1.25rem;
  text-decoration: none;
  color: #b55a4a;
  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, #f5c6b0, #e89b8a);
  color: #fff;
  box-shadow: 0 2px 8px rgba(181, 90, 74, 0.2);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: #6d5a4a;
  transition: 0.25s;
  position: relative;
  padding-bottom: 4px;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #e89b8a;
  transition: width 0.3s;
}

.main-nav a:hover {
  color: #b55a4a;
}

.main-nav a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 24px;
  border-radius: 50px;
  background: linear-gradient(135deg, #e89b8a, #d47a68);
  color: #fff !important;
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(212, 122, 104, 0.3);
  transition: 0.3s;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 122, 104, 0.4);
}

.nav-cta::after {
  display: none;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #b55a4a;
  cursor: pointer;
}

/* 首页Hero — 浪漫氛围 */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  background: linear-gradient(160deg, #fdf8f4 0%, #f5e3da 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(232, 155, 138, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-content {
  max-width: 680px;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 20px;
  background: rgba(232, 155, 138, 0.15);
  color: #b55a4a;
  border: 1px solid rgba(181, 90, 74, 0.15);
}

.hero h1 {
  font-size: 3.2rem;
  line-height: 1.15;
  margin-bottom: 20px;
  color: #3d2b1e;
  letter-spacing: -0.5px;
  font-weight: 700;
}

.hero h1 .text-accent {
  color: #b55a4a;
  font-style: italic;
}

.hero p {
  font-size: 1.1rem;
  opacity: 0.75;
  max-width: 520px;
  margin-bottom: 36px;
  color: #6d5a4a;
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

.hero-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(181, 90, 74, 0.1);
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* 按钮 — 温柔质感 */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: 0.3s;
  font-size: 0.95rem;
}

.btn-primary {
  background: linear-gradient(135deg, #e89b8a, #d47a68);
  color: #fff;
  box-shadow: 0 4px 14px rgba(212, 122, 104, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(212, 122, 104, 0.4);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid #d4a090;
  color: #b55a4a;
}

.btn-outline:hover {
  background: rgba(232, 155, 138, 0.08);
  border-color: #b55a4a;
}

/* 标签/标题 */
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  margin-bottom: 12px;
  color: #b55a4a;
  text-transform: uppercase;
}

.section-title {
  font-size: 2.2rem;
  margin-bottom: 16px;
  color: #3d2b1e;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.section-desc {
  max-width: 600px;
  opacity: 0.7;
  margin-bottom: 48px;
  color: #6d5a4a;
  font-size: 1.05rem;
}

/* 卡片网格 — 柔和卡片层叠 */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.category-card {
  border-radius: 16px;
  padding: 32px;
  background: #fff;
  border: 1px solid rgba(200, 170, 150, 0.2);
  transition: 0.35s;
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #f5c6b0, #e89b8a);
  opacity: 0;
  transition: opacity 0.3s;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(181, 90, 74, 0.08);
  border-color: rgba(232, 155, 138, 0.3);
}

.category-card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.4rem;
  background: linear-gradient(135deg, #fdf0ea, #f5d6cc);
  color: #b55a4a;
}

.card-link {
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  color: #b55a4a;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.card-link:hover {
  gap: 10px;
}

/* 特性块 — 左右不对称布局 */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.feature-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(181, 90, 74, 0.08);
}

.feature-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s;
}

.feature-image:hover img {
  transform: scale(1.02);
}

.feature-text {
  padding: 20px 0;
}

.feature-list {
  list-style: none;
  margin-top: 20px;
}

.feature-list li {
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(200, 170, 150, 0.15);
}

.feature-list li:last-child {
  border-bottom: none;
}

.feature-list li::before {
  content: '♥';
  font-weight: 400;
  color: #e89b8a;
  font-size: 1rem;
}

/* 数据条 */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  text-align: center;
}

.stat-item {
  padding: 32px 20px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(200, 170, 150, 0.15);
  transition: 0.3s;
}

.stat-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(181, 90, 74, 0.06);
}

.stat-number {
  font-size: 2.6rem;
  font-weight: 800;
  color: #b55a4a;
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.65;
  margin-top: 8px;
  color: #6d5a4a;
}

/* 内容墙 */
.content-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}

.content-wall-item {
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(200, 170, 150, 0.15);
  transition: 0.35s;
}

.content-wall-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 36px rgba(181, 90, 74, 0.08);
}

.content-wall-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s;
}

.content-wall-item:hover img {
  transform: scale(1.03);
}

.content-wall-body {
  padding: 24px;
}

.content-wall-body h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: #3d2b1e;
}

.content-wall-body p {
  font-size: 0.9rem;
  opacity: 0.7;
  color: #6d5a4a;
}

/* FAQ — 温柔展开 */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid rgba(200, 170, 150, 0.2);
  border-radius: 12px;
  margin-bottom: 10px;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  transition: 0.2s;
}

.faq-item:hover {
  border-color: rgba(232, 155, 138, 0.3);
}

.faq-item .faq-question {
  padding: 18px 24px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #3d2b1e;
  font-size: 1rem;
}

.faq-item .faq-question::after {
  content: '✧';
  font-size: 0.8rem;
  color: #e89b8a;
  transition: transform 0.3s;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-item .faq-answer {
  padding: 0 24px 18px;
  display: none;
  opacity: 0.75;
  color: #6d5a4a;
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  display: block;
}

/* CTA横幅 — 渐变光晕 */
.cta-banner {
  padding: 64px 32px;
  text-align: center;
  border-radius: 20px;
  background: linear-gradient(135deg, #e89b8a, #c47260, #b55a4a);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
  pointer-events: none;
}

.cta-banner h2 {
  color: #fff;
  font-size: 2rem;
  margin-bottom: 12px;
  position: relative;
}

.cta-banner p {
  color: rgba(255,255,255,0.85);
  margin-bottom: 28px;
  position: relative;
}

.cta-banner .btn-primary {
  background: #fff;
  color: #b55a4a;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.cta-banner .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.15);
}

/* 页脚 — 暖调优雅 */
.site-footer {
  padding: 64px 0 32px;
  background: #3d2b1e;
  color: rgba(255,255,255,0.8);
}

.site-footer .container {
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand p {
  font-size: 0.9rem;
  opacity: 0.7;
  max-width: 280px;
  margin-top: 12px;
  line-height: 1.7;
}

.footer-col h4 {
  color: #f5c6b0;
  font-size: 0.95rem;
  margin-bottom: 16px;
  font-weight: 600;
  letter-spacing: 1px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: 0.2s;
}

.footer-col ul li a:hover {
  color: #f5c6b0;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 48px;
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.6;
}

/* 工具类 */
.text-accent {
  color: #b55a4a;
}

.text-center {
  text-align: center;
}

.seo-description {
  max-width: 600px;
  margin: 0 auto 48px;
  opacity: 0.7;
  color: #6d5a4a;
}

.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

/* 响应式 */
@media (max-width: 992px) {
  .feature-block {
    gap: 40px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  .hero {
    min-height: auto;
    padding: 100px 0 60px;
  }
  .feature-block {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .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: rgba(253, 248, 244, 0.98);
    backdrop-filter: blur(12px);
    padding: 24px 28px;
    gap: 20px;
    border-bottom: 1px solid rgba(200, 170, 150, 0.2);
    box-shadow: 0 8px 24px rgba(0,0,0,0.04);
  }
  .main-nav.open a {
    font-size: 1rem;
  }
  .main-nav.open .nav-cta {
    align-self: flex-start;
  }
}

@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;
  }
  .section-title {
    font-size: 1.6rem;
  }
  .hero h1 {
    font-size: 1.8rem;
  }
  .stat-number {
    font-size: 2rem;
  }
}