/* ============================================
   蜜桃成熟时在线 — 蜜桃·流体渐变设计系统
   Domain: mitaochengshu.com.cn
   创意概念：成熟蜜桃的暖阳果园 / 有机流体光影
   ============================================ */

:root {
  --primary: #FF6B6B;
  --primary-light: #FF8A65;
  --primary-lighter: #FFB4A2;
  --secondary: #FFD8A8;
  --accent: #FFE0C0;
  --bg-main: #FFF8F0;
  --bg-alt: #FFF0E6;
  --text-main: #4A2B1A;
  --text-muted: rgba(74, 43, 26, 0.62);
  --card-bg: rgba(255, 255, 255, 0.85);
  --border: rgba(255, 138, 101, 0.14);
  --shadow: 0 8px 30px rgba(255, 138, 101, 0.12);
  --shadow-hover: 0 16px 40px rgba(255, 107, 107, 0.18);
  --gradient: linear-gradient(135deg, #FF8A65 0%, #FF6B6B 100%);
  --radius: 20px;
  --radius-sm: 12px;
  --radius-lg: 28px;
}

/* ============ 基础重置 ============ */
*, *::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: var(--bg-main);
  color: var(--text-main);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(circle at 90% 10%, rgba(255, 184, 140, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 10% 60%, rgba(255, 214, 168, 0.12) 0%, transparent 35%),
    radial-gradient(circle at 70% 90%, rgba(255, 138, 101, 0.08) 0%, transparent 30%);
  background-attachment: fixed;
}

::selection {
  background: rgba(255, 107, 107, 0.2);
  color: #e85a5a;
}

/* ============ 核心布局 ============ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 88px 0;
  position: relative;
}

.section:nth-child(even) {
  background: var(--bg-alt);
}

/* ============ 导航 — 固定顶部 ============ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 248, 240, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 20px rgba(255, 138, 101, 0.06);
}

.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-weight: 800;
  font-size: 1.25rem;
  text-decoration: none;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 12px rgba(255, 107, 107, 0.35);
  position: relative;
  overflow: hidden;
}

.logo-icon::after {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  width: 20px;
  height: 20px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: all 0.25s;
  color: var(--text-main);
  position: relative;
  padding: 4px 0;
}

.main-nav a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.main-nav a:not(.nav-cta):hover {
  color: var(--primary);
}

.main-nav a:not(.nav-cta):hover::after {
  width: 100%;
}

.nav-cta {
  padding: 8px 22px;
  border-radius: 12px;
  color: #fff !important;
  font-weight: 700;
  background: var(--gradient);
  box-shadow: 0 4px 14px rgba(255, 107, 107, 0.3);
  transition: all 0.3s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--text-main);
}

/* ============ 首页 Hero ============ */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 120px 0 80px;
  background: linear-gradient(135deg, #FFF8F0 0%, #FFE8D6 50%, #FFD8A8 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -140px;
  right: -80px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(255, 184, 140, 0.35) 0%, rgba(255, 184, 140, 0) 70%);
  border-radius: 50%;
  animation: float-drift 12s ease-in-out infinite alternate;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -60px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 214, 168, 0.3) 0%, rgba(255, 214, 168, 0) 60%);
  border-radius: 50%;
  animation: float-drift 10s ease-in-out infinite alternate-reverse;
}

@keyframes float-drift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(20px, 30px) scale(1.05); }
}

.hero-content {
  max-width: 720px;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 30px;
  margin-bottom: 20px;
  background: rgba(255, 107, 107, 0.12);
  color: var(--primary);
  border: 1px solid rgba(255, 107, 107, 0.15);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
  background: linear-gradient(120deg, #FF6B6B 0%, #FF8A65 60%, #FFB4A2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.1rem;
  opacity: 0.7;
  max-width: 560px;
  margin-bottom: 36px;
  color: var(--text-main);
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(255, 138, 101, 0.18);
  border: 4px solid rgba(255, 255, 255, 0.6);
  position: relative;
  max-width: 500px;
  margin-left: auto;
}

.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(255, 107, 107, 0.1), transparent 40%);
  pointer-events: none;
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}

.hero-image:hover img {
  transform: scale(1.03);
}

/* ============ 按钮 ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 14px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 0.95rem;
}

.btn-primary {
  color: #fff;
  background: var(--gradient);
  box-shadow: 0 6px 20px rgba(255, 107, 107, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 107, 107, 0.4);
}

.btn-outline {
  background: transparent;
  border: 2px solid rgba(255, 107, 107, 0.4);
  color: var(--primary);
}

.btn-outline:hover {
  border-color: var(--primary);
  background: rgba(255, 107, 107, 0.08);
  transform: translateY(-3px);
}

/* ============ 标签/标题 ============ */
.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 14px;
  color: var(--primary);
  padding: 6px 16px;
  background: rgba(255, 107, 107, 0.1);
  border-radius: 20px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--text-main);
}

.section-desc {
  max-width: 620px;
  opacity: 0.7;
  margin-bottom: 48px;
  line-height: 1.8;
  color: var(--text-main);
}

/* ============ 卡片网格 ============ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}

.category-card {
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--border);
  background: var(--card-bg);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(4px);
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.3s;
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(255, 107, 107, 0.25);
}

.category-card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
  background: linear-gradient(135deg, #FFE0C0, #FFD8A8);
  color: var(--primary);
  box-shadow: 0 4px 12px rgba(255, 138, 101, 0.15);
}

.category-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-main);
}

.category-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

.card-link {
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}

.card-link:hover {
  gap: 10px;
}

/* ============ 特性块 ============ */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.feature-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(255, 138, 101, 0.15);
  border: 3px solid rgba(255, 255, 255, 0.5);
  transition: transform 0.4s ease;
}

.feature-image:hover {
  transform: scale(1.02);
}

.feature-image img {
  width: 100%;
  height: auto;
  display: block;
}

.feature-text {
  padding: 16px 0;
}

.feature-text .section-label {
  margin-bottom: 12px;
}

.feature-text .section-title {
  margin-bottom: 20px;
}

.feature-text p {
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.8;
}

.feature-list {
  list-style: none;
  margin-top: 8px;
}

.feature-list li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  color: var(--text-main);
}

.feature-list li::before {
  content: '✓';
  font-weight: 800;
  color: #fff;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gradient);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  flex-shrink: 0;
}

/* ============ 数据条 ============ */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  padding: 32px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card-bg);
  transition: all 0.4s ease;
  position: relative;
}

.stat-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  background: #fff;
}

.stat-number {
  font-size: 2.6rem;
  font-weight: 900;
  background: var(--gradient);
  -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: var(--text-main);
  letter-spacing: 0.02em;
}

/* ============ 内容墙 ============ */
.content-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.content-wall-item {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card-bg);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  box-shadow: 0 2px 12px rgba(255, 138, 101, 0.05);
}

.content-wall-item::after {
  content: '▶';
  position: absolute;
  top: 90px;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 18px;
  box-shadow: 0 8px 24px rgba(255, 107, 107, 0.3);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  padding-left: 4px;
}

.content-wall-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(255, 107, 107, 0.25);
}

.content-wall-item:hover::after {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

.content-wall-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.6s ease;
  display: block;
}

.content-wall-item:hover img {
  transform: scale(1.05);
}

.content-wall-body {
  padding: 22px;
}

.content-wall-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-main);
}

.content-wall-body p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ============ FAQ ============ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 16px;
  margin-bottom: 12px;
  overflow: hidden;
  cursor: pointer;
  background: var(--card-bg);
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(255, 107, 107, 0.3);
}

.faq-item .faq-question {
  padding: 20px 24px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  color: var(--text-main);
  background: transparent;
  transition: background 0.3s;
}

.faq-item .faq-question::after {
  content: '＋';
  font-size: 1.2rem;
  color: var(--primary);
  transition: transform 0.3s;
  flex-shrink: 0;
}

.faq-item .faq-answer {
  padding: 0 24px 20px;
  display: none;
  opacity: 0.7;
  color: var(--text-main);
  line-height: 1.8;
  font-size: 0.92rem;
}

.faq-item.open {
  border-color: rgba(255, 107, 107, 0.4);
  box-shadow: 0 4px 16px rgba(255, 138, 101, 0.1);
}

.faq-item.open .faq-question {
  background: rgba(255, 138, 101, 0.06);
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-item.open .faq-answer {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 0.7; transform: translateY(0); }
}

/* ============ CTA横幅 ============ */
.cta-banner {
  padding: 64px 32px;
  text-align: center;
  border-radius: var(--radius-lg);
  color: #fff;
  background: linear-gradient(135deg, #FF8A65 0%, #FF6B6B 100%);
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(255, 107, 107, 0.3);
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -40px;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -30px;
  width: 180px;
  height: 180px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.cta-banner h2 {
  color: #fff;
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 28px;
  position: relative;
  z-index: 2;
  font-size: 1.02rem;
}

.cta-banner .btn-primary {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 2;
}

.cta-banner .btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

/* ============ 页脚 ============ */
.site-footer {
  padding: 64px 0 28px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}

.site-footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand {
  max-width: 300px;
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-main);
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul a {
  text-decoration: none;
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-col ul a:hover {
  color: var(--primary);
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  margin-top: 40px;
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ============ 工具类 ============ */
.text-accent {
  color: var(--primary);
  font-weight: 700;
}

.text-center {
  text-align: center;
}

.seo-description {
  max-width: 600px;
  margin: 0 auto 48px;
  opacity: 0.7;
  color: var(--text-main);
  line-height: 1.8;
}

.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

/* ============ 响应式 ============ */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    padding-top: 100px;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
    margin-bottom: 48px;
  }

  .hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-image {
    margin: 0 auto;
    max-width: 480px;
    width: 100%;
  }

  .hero h1 {
    font-size: 2.8rem;
  }

  .section-title {
    font-size: 1.9rem;
  }

  .feature-block {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .feature-block {
    grid-template-columns: 1fr;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: var(--bg-main);
    padding: 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }

  .main-nav.open {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-cta {
    width: 100%;
    text-align: center;
  }

  .hero {
    min-height: auto;
    padding-top: 100px;
    padding-bottom: 60px;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .hero-content {
    margin-bottom: 32px;
  }

  .hero-image {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .cards-grid,
  .content-wall,
  .stats-bar {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .section {
    padding: 60px 0;
  }

  .hero {
    padding-top: 90px;
    padding-bottom: 48px;
  }

  .cta-banner {
    padding: 48px 20px;
  }

  .cta-banner h2 {
    font-size: 1.5rem;
  }

  .stat-item {
    padding: 24px 16px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .content-wall-item::after {
    top: 80px;
    width: 46px;
    height: 46px;
    font-size: 16px;
  }

  .header-inner {
    height: 64px;
  }

  .main-nav {
    top: 64px;
  }

  .logo {
    font-size: 1.05rem;
  }

  .logo-icon {
    width: 36px;
    height: 36px;
  }
}

/* ============ 微交互 ============ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}