/* ============================================================
   "儿子叫妈妈老婆" × 3SUNRISE.CN
   暖阳亲子 · 独特视觉设计系统
   Awwwards 灵感 — 温暖、俏皮、圆润、贴纸质感
   ============================================================ */

:root {
  --bg-warm: #FDF6F0;
  --bg-peach: #FFF1E8;
  --surface: #FFFFFF;
  --coral: #FF6F5E;
  --coral-rgb: 255, 111, 94;
  --coral-deep: #D94F3E;
  --gold: #FFB84D;
  --gold-rgb: 255, 184, 77;
  --ink: #2E2223;
  --ink-soft: #5C3A3A;
  --sticker-shadow: rgba(var(--coral-rgb), 0.16);
  --card-radius: 26px;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  overflow-x: hidden;
  background: var(--bg-warm);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--gold);
  color: var(--ink);
}

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-peach);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--coral), var(--gold));
  border-radius: 10px;
  border: 2px solid var(--bg-peach);
}

/* ============================================================
   核心布局
   ============================================================ */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 160px;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  border-radius: 0 0 50% 50%;
  opacity: 0.55;
}

.section:nth-child(even) {
  background: var(--bg-peach);
}

/* ============================================================
   导航 — 固定顶部
   ============================================================ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 250, 245, 0.88);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid rgba(var(--coral-rgb), 0.12);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--coral), var(--gold), var(--coral));
  opacity: 0.25;
  pointer-events: none;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  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: var(--ink);
  letter-spacing: 0.5px;
}

.logo-icon {
  width: 42px;
  height: 42px;
  border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  background: linear-gradient(135deg, #FF6F5E 0%, #FF9465 45%, #FFC94A 100%);
  color: #fff;
  box-shadow: 0 4px 18px rgba(var(--coral-rgb), 0.4);
  position: relative;
  overflow: hidden;
}

.logo-icon::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  top: 8px;
  right: 8px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 6px 0;
  position: relative;
  transition: color 0.25s;
  letter-spacing: 0.3px;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--coral), var(--gold));
  transition: width 0.3s ease;
}

.main-nav a:hover {
  color: var(--coral);
}

.main-nav a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 26px;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--coral), #FF9465);
  color: #fff !important;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(var(--coral-rgb), 0.35);
  transition: transform 0.25s, box-shadow 0.25s;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(var(--coral-rgb), 0.45);
  color: #fff !important;
}

.nav-cta::after {
  display: none;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--ink);
  padding: 4px;
  line-height: 1;
}

/* ============================================================
   首页 Hero
   ============================================================ */

.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 25%, rgba(var(--gold-rgb), 0.28) 0%, transparent 40%),
    radial-gradient(circle at 85% 45%, rgba(var(--coral-rgb), 0.2) 0%, transparent 35%),
    radial-gradient(circle at 60% 85%, rgba(var(--gold-rgb), 0.25) 0%, transparent 40%),
    linear-gradient(180deg, #FFFCF9 0%, var(--bg-peach) 100%);
  padding: 0;
}

.hero .container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
  padding-top: 140px;
  padding-bottom: 84px;
}

.hero-content {
  max-width: 640px;
  flex: 1 1 500px;
  position: relative;
  z-index: 1;
}

.hero-content::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--gold-rgb), 0.35), transparent 70%);
  top: -50px;
  left: -70px;
  pointer-events: none;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 2px;
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(var(--coral-rgb), 0.15);
  color: var(--coral-deep);
  box-shadow: 0 4px 16px rgba(var(--coral-rgb), 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero h1 {
  font-size: clamp(2.6rem, 5.2vw, 4.1rem);
  line-height: 1.14;
  font-weight: 900;
  letter-spacing: -0.5px;
  margin-bottom: 24px;
  background: linear-gradient(135deg, var(--ink) 30%, #C44D3D 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.15rem;
  color: rgba(46, 34, 35, 0.65);
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.9;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
  flex: 0 1 420px;
  min-width: 280px;
  border-radius: 32px;
  overflow: hidden;
  background: var(--bg-peach);
  box-shadow: 0 24px 80px rgba(var(--coral-rgb), 0.25);
  transform: rotate(2deg);
  transition: transform 0.4s ease;
}

.hero-image:hover {
  transform: rotate(0deg);
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, rgba(var(--coral-rgb), 0.1), transparent 50%, rgba(var(--gold-rgb), 0.2));
  pointer-events: none;
}

/* ============================================================
   按钮
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  line-height: 1.4;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--coral), #E8503A);
  box-shadow: 0 6px 24px rgba(var(--coral-rgb), 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 32px rgba(var(--coral-rgb), 0.5);
}

.btn-outline {
  background: transparent;
  border: 2px solid rgba(var(--coral-rgb), 0.4);
  color: var(--coral-deep);
}

.btn-outline:hover {
  background: rgba(var(--coral-rgb), 0.1);
  border-color: var(--coral);
  transform: translateY(-2px);
}

/* ============================================================
   标签 / 标题
   ============================================================ */

.section-label {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 3px;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 14px;
  background: rgba(var(--coral-rgb), 0.08);
  color: var(--coral);
  border: 1px solid rgba(var(--coral-rgb), 0.15);
}

.section-title {
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0.3px;
  margin-bottom: 18px;
  color: var(--ink);
}

.section-desc {
  max-width: 620px;
  opacity: 0.7;
  margin-bottom: 48px;
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--ink-soft);
}

/* ============================================================
   卡片网格
   ============================================================ */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}

.category-card {
  border-radius: var(--card-radius);
  padding: 32px 28px;
  border: none;
  background: var(--surface);
  position: relative;
  box-shadow: 0 4px 0 var(--sticker-shadow), 0 12px 28px rgba(var(--coral-rgb), 0.12);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  overflow: hidden;
}

.category-card::before {
  content: "";
  position: absolute;
  top: -30px;
  right: -30px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(var(--gold-rgb), 0.18);
  transition: transform 0.5s ease;
}

.category-card:nth-child(3n+1) {
  transform: rotate(-0.6deg);
}
.category-card:nth-child(3n+2) {
  transform: rotate(0.4deg);
}
.category-card:nth-child(3n+3) {
  transform: rotate(-0.2deg);
}

.category-card:hover {
  transform: rotate(0deg) translateY(-6px) scale(1.02);
  box-shadow: 0 8px 0 var(--sticker-shadow), 0 20px 40px rgba(var(--coral-rgb), 0.2);
}

.category-card:hover::before {
  transform: scale(1.4);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.5rem;
  background: linear-gradient(135deg, #FFEDE3, #FFF7EB);
  color: var(--coral);
  box-shadow: inset 0 -2px 6px rgba(var(--coral-rgb), 0.06);
}

.card-link {
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--coral);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  transition: gap 0.25s ease;
}

.card-link:hover {
  gap: 12px;
  text-decoration: none;
}

/* ============================================================
   特性块
   ============================================================ */

.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.feature-image {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(var(--coral-rgb), 0.2);
  transform: rotate(-1deg);
}

.feature-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, rgba(var(--coral-rgb), 0.06), transparent 30%, rgba(var(--gold-rgb), 0.15));
}

.feature-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}

.feature-image:hover img {
  transform: scale(1.03);
}

.feature-text {
  padding: 8px 0;
}

.feature-text h3 {
  font-size: 1.8rem;
  margin-bottom: 12px;
  color: var(--ink);
}

.feature-text p {
  color: rgba(92, 58, 58, 0.75);
  margin-bottom: 16px;
}

.feature-list {
  list-style: none;
  margin-top: 24px;
}

.feature-list li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  color: var(--ink-soft);
}

.feature-list li::before {
  content: '✓';
  font-weight: 800;
  width: 22px;
  height: 22px;
  font-size: 12px;
  background: linear-gradient(135deg, var(--coral), #FF9465);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================================
   数据条
   ============================================================ */

.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  padding: 28px 20px;
  border-radius: 28px;
  border: none;
  background: var(--surface);
  position: relative;
  box-shadow: 0 4px 0 var(--sticker-shadow), 0 12px 28px rgba(var(--coral-rgb), 0.1);
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-4px);
}

.stat-number {
  font-size: 2.6rem;
  font-weight: 900;
  letter-spacing: -1px;
  color: var(--coral);
  line-height: 1;
  display: block;
}

.stat-number::after {
  content: "";
  display: block;
  width: 28px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--coral), var(--gold));
  margin: 12px auto 0;
}

.stat-label {
  font-size: 0.95rem;
  opacity: 0.6;
  margin-top: 10px;
  color: var(--ink-soft);
  display: block;
}

/* ============================================================
   内容墙
   ============================================================ */

.content-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.content-wall-item {
  border-radius: 28px;
  overflow: hidden;
  border: none;
  background: var(--surface);
  box-shadow: 0 4px 0 var(--sticker-shadow), 0 12px 28px rgba(var(--coral-rgb), 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-wall-item:hover {
  transform: translateY(-6px) rotate(-0.5deg);
  box-shadow: 0 8px 0 var(--sticker-shadow), 0 20px 44px rgba(var(--coral-rgb), 0.18);
}

.content-wall-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.content-wall-item:hover img {
  transform: scale(1.05);
}

.content-wall-body {
  padding: 24px;
}

.content-wall-body h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--ink);
}

.content-wall-body p {
  font-size: 0.9rem;
  color: rgba(92, 58, 58, 0.7);
  line-height: 1.6;
}

/* ============================================================
   FAQ
   ============================================================ */

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid rgba(var(--coral-rgb), 0.12);
  border-radius: 20px;
  margin-bottom: 12px;
  overflow: hidden;
  cursor: pointer;
  background: var(--surface);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.faq-item:hover {
  border-color: rgba(var(--coral-rgb), 0.3);
  box-shadow: 0 4px 20px rgba(var(--coral-rgb), 0.08);
}

.faq-item.open {
  border-color: rgba(var(--coral-rgb), 0.35);
}

.faq-item .faq-question {
  padding: 18px 24px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--ink);
  transition: color 0.2s;
}

.faq-item .faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--coral);
  line-height: 1;
  transition: transform 0.3s ease;
}

.faq-item.open .faq-question::after {
  transform: rotate(135deg);
}

.faq-item .faq-answer {
  padding: 0 24px 20px;
  display: none;
  opacity: 0.7;
  color: var(--ink-soft);
  line-height: 1.8;
  font-size: 0.95rem;
}

.faq-item.open .faq-answer {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
}

/* ============================================================
   CTA 横幅
   ============================================================ */

.cta-banner {
  padding: 72px 40px;
  text-align: center;
  border-radius: 40px;
  color: #fff;
  background: linear-gradient(120deg, var(--coral) 0%, #FF9465 50%, var(--gold) 100%);
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(var(--coral-rgb), 0.3);
}

.cta-banner::before,
.cta-banner::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.cta-banner::before {
  width: 200px;
  height: 200px;
  top: -80px;
  left: -60px;
}

.cta-banner::after {
  width: 140px;
  height: 140px;
  bottom: -50px;
  right: -30px;
  background: rgba(255, 255, 255, 0.08);
}

.cta-banner h2 {
  color: #fff;
  margin-bottom: 16px;
  font-size: 2rem;
  position: relative;
  z-index: 1;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.8);
  position: relative;
  z-index: 1;
}

.cta-banner .btn-primary {
  position: relative;
  z-index: 1;
  background: #fff;
  color: var(--coral);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.cta-banner .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

/* ============================================================
   页脚
   ============================================================ */

.site-footer {
  padding: 80px 0 32px;
  background: var(--bg-peach);
  border-top: 2px solid rgba(var(--coral-rgb), 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand p {
  color: rgba(92, 58, 58, 0.7);
  line-height: 1.8;
  max-width: 320px;
}

.footer-col h4 {
  margin-bottom: 18px;
  font-size: 1rem;
  color: var(--ink);
  font-weight: 700;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--coral), var(--gold));
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  padding: 7px 0;
}

.footer-col ul a {
  text-decoration: none;
  color: rgba(92, 58, 58, 0.7);
  transition: color 0.2s, padding-left 0.2s;
}

.footer-col ul a:hover {
  color: var(--coral);
  padding-left: 6px;
}

.footer-bottom {
  border-top: 1px solid rgba(var(--coral-rgb), 0.12);
  margin-top: 56px;
  padding-top: 24px;
  text-align: center;
  font-size: 0.88rem;
  color: rgba(92, 58, 58, 0.6);
}

.footer-bottom a {
  color: var(--coral);
  text-decoration: none;
}

/* ============================================================
   工具类
   ============================================================ */

.text-accent {
  color: var(--coral);
}

.text-center {
  text-align: center;
}

.seo-description {
  max-width: 600px;
  margin: 0 auto 48px;
  opacity: 0.7;
  line-height: 1.8;
  color: var(--ink-soft);
}

.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

/* ============================================================
   动画
   ============================================================ */

@keyframes floatSlow {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-12px) rotate(2deg);
  }
}

/* ============================================================
   响应式
   ============================================================ */

@media (max-width: 768px) {
  .section {
    padding: 72px 0;
  }

  .hero .container {
    padding-top: 120px;
    padding-bottom: 60px;
    gap: 40px;
  }

  .hero-content {
    flex: 1 1 100%;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .hero-image {
    flex: 1 1 100%;
    transform: none;
  }

  .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: 76px;
    left: 0;
    width: 100%;
    background: rgba(255, 250, 245, 0.97);
    padding: 28px 24px;
    gap: 20px;
    box-shadow: 0 12px 32px rgba(var(--coral-rgb), 0.15);
    border-bottom: 2px solid rgba(var(--coral-rgb), 0.15);
  }

  .main-nav.open a {
    padding: 8px 0;
  }

  .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;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    justify-content: center;
  }

  .hero h1 {
    font-size: 2.1rem;
  }

  .section-title {
    font-size: 1.9rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .cta-banner {
    padding: 48px 24px;
  }

  .cta-banner h2 {
    font-size: 1.6rem;
  }
}