/* ============================================================
   爱情岛论坛 - 全站样式表
   主题：年轻 / 温暖 / 浪漫 / 专业
   ============================================================ */

/* ---------- 设计变量 ---------- */
:root {
  --primary: #ff5e7e;
  --primary-dark: #e84568;
  --primary-light: #ff8fab;
  --secondary: #ffb3c6;
  --accent: #f7b32b;
  --bg: #fff8f6;
  --bg-soft: #fff0f3;
  --card: #ffffff;
  --text: #3a2530;
  --muted: #8b7680;
  --line: #f5dde3;
  --footer-bg: #2c1e26;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 4px 14px rgba(232, 69, 104, 0.08);
  --shadow-md: 0 12px 32px rgba(232, 69, 104, 0.14);
  --shadow-lg: 0 24px 60px rgba(232, 69, 104, 0.2);
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-display: "Noto Serif SC", "Noto Sans SC", serif;
  --transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- 基础重置 ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
  font-size: 16px;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: inherit; }
h1, h2, h3, h4 { line-height: 1.3; font-weight: 700; }

/* ---------- 通用工具 ---------- */
.container { width: min(1200px, 92%); margin: 0 auto; }
.section { padding: 96px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-tag {
  display: inline-block; padding: 6px 18px; border-radius: 999px;
  background: rgba(255, 94, 126, 0.12); color: var(--primary-dark);
  font-size: 14px; font-weight: 700; letter-spacing: 2px; margin-bottom: 16px;
}
.section-head h2 { font-size: clamp(26px, 4vw, 38px); font-family: var(--font-display); }
.section-head h2 span { color: var(--primary); }
.section-head p { color: var(--muted); margin-top: 14px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 34px; border-radius: 999px; font-weight: 700; font-size: 16px;
  border: none; transition: var(--transition); white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff; box-shadow: 0 10px 24px rgba(255, 94, 126, 0.35);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(255, 94, 126, 0.45); }
.btn-outline { border: 2px solid var(--primary); color: var(--primary-dark); background: #fff; }
.btn-outline:hover { background: var(--primary); color: #fff; transform: translateY(-3px); }
.btn-white { background: #fff; color: var(--primary-dark); box-shadow: var(--shadow-md); }
.btn-white:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.btn-sm { padding: 9px 22px; font-size: 14px; }

/* ---------- 头部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: var(--transition);
}
.site-header.scrolled { box-shadow: 0 4px 20px rgba(61, 37, 48, 0.1); }
.navbar { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo {
  width: 44px; height: 44px; border-radius: 14px; flex: none;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px rgba(255, 94, 126, 0.4);
}
.brand-logo svg { width: 24px; height: 24px; fill: #fff; }
.brand-text { font-size: 21px; font-weight: 900; letter-spacing: 1px; color: var(--text); line-height: 1.15; }
.brand-text small { display: block; font-size: 10px; font-weight: 500; color: var(--muted); letter-spacing: 2px; }
.nav-menu { display: flex; align-items: center; gap: 6px; }
.nav-menu a {
  position: relative; padding: 10px 16px; font-size: 15px; font-weight: 500;
  color: var(--text); border-radius: 10px;
}
.nav-menu a::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 3px;
  border-radius: 3px; background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s ease;
}
.nav-menu a:hover, .nav-menu a.active { color: var(--primary-dark); }
.nav-menu a:hover::after, .nav-menu a.active::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px; padding: 9px; background: var(--bg-soft);
  border: none; border-radius: 10px;
}
.nav-toggle span { display: block; height: 2px; background: var(--text); border-radius: 2px; transition: var(--transition); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero 主视觉 ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #fff5f7 0%, #ffe9ef 45%, #ffe0ea 100%);
  padding: 90px 0 110px;
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(10px); opacity: 0.5;
}
.hero::before { width: 420px; height: 420px; background: #ffd3de; top: -160px; right: -120px; }
.hero::after { width: 320px; height: 320px; background: #ffe8c9; bottom: -140px; left: -100px; }
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px;
  background: #fff; border-radius: 999px; box-shadow: var(--shadow-sm);
  font-size: 14px; font-weight: 700; color: var(--primary-dark); margin-bottom: 22px;
}
.hero-badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); animation: pulse 1.6s infinite; }
.hero h1 { font-size: clamp(32px, 4.6vw, 52px); font-family: var(--font-display); letter-spacing: 1px; }
.hero h1 em { font-style: normal; color: var(--primary); position: relative; }
.hero h1 em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 12px;
  background: rgba(255, 179, 198, 0.5); z-index: -1; border-radius: 6px;
}
.hero-sub { margin: 22px 0 34px; color: var(--muted); font-size: 17px; max-width: 520px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 44px; margin-top: 48px; flex-wrap: wrap; }
.hero-stats .num { font-size: 30px; font-weight: 900; color: var(--primary-dark); font-family: var(--font-display); }
.hero-stats .label { font-size: 13px; color: var(--muted); }
.hero-visual { position: relative; }
.hero-visual img { border-radius: 32px; box-shadow: var(--shadow-lg); width: 100%; object-fit: cover; }
.hero-visual::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; z-index: -1;
  border-radius: 32px; background: linear-gradient(135deg, var(--secondary), #ffe0c9); opacity: 0.55;
}
.float-card {
  position: absolute; background: #fff; border-radius: 16px; box-shadow: var(--shadow-md);
  padding: 12px 18px; display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700;
  animation: floatY 4.5s ease-in-out infinite;
}
.float-card .fc-icon {
  width: 36px; height: 36px; border-radius: 12px; flex: none;
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 18px;
}
.float-card.fc1 { top: 26px; left: -34px; }
.float-card.fc1 .fc-icon { background: linear-gradient(135deg, #ff5e7e, #ff8fab); }
.float-card.fc2 { bottom: 34px; right: -26px; animation-delay: 1.6s; }
.float-card.fc2 .fc-icon { background: linear-gradient(135deg, #f7b32b, #ffd166); }
.heart-fly { position: absolute; z-index: 1; color: rgba(255, 94, 126, 0.35); font-size: 22px; animation: floatY 6s ease-in-out infinite; }
.heart-fly.h1 { top: 12%; left: 46%; animation-delay: 0.6s; }
.heart-fly.h2 { top: 64%; left: 4%; animation-delay: 1.8s; font-size: 16px; }
.heart-fly.h3 { top: 26%; right: 4%; animation-delay: 3s; font-size: 18px; }

/* ---------- 核心特性 ---------- */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.feature-card {
  background: var(--card); border-radius: var(--radius); padding: 38px 28px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  transition: var(--transition); position: relative; overflow: hidden;
}
.feature-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease;
}
.feature-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-md); }
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon {
  width: 62px; height: 62px; border-radius: 18px; margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(255, 94, 126, 0.14), rgba(255, 143, 171, 0.14));
  color: var(--primary-dark); transition: var(--transition);
}
.feature-card:hover .feature-icon { background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: #fff; transform: rotate(-6deg) scale(1.06); }
.feature-icon svg { width: 30px; height: 30px; }
.feature-card h3 { font-size: 19px; margin-bottom: 10px; }
.feature-card p { font-size: 14.5px; color: var(--muted); }

/* ---------- 服务介绍 ---------- */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.service-card {
  display: grid; grid-template-columns: 200px 1fr; background: var(--card);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  border: 1px solid var(--line); transition: var(--transition);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.service-card .sc-img { height: 100%; min-height: 210px; overflow: hidden; }
.service-card .sc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.service-card:hover .sc-img img { transform: scale(1.08); }
.service-card .sc-body { padding: 26px 26px 24px; }
.service-card .sc-tag { font-size: 12px; font-weight: 700; color: var(--primary-dark); background: rgba(255, 94, 126, 0.1); padding: 3px 12px; border-radius: 999px; }
.service-card h3 { font-size: 20px; margin: 12px 0 8px; }
.service-card p { font-size: 14.5px; color: var(--muted); margin-bottom: 16px; }
.text-link { font-size: 14px; font-weight: 700; color: var(--primary-dark); display: inline-flex; align-items: center; gap: 6px; }
.text-link::after { content: "→"; transition: transform 0.3s ease; }
.text-link:hover::after { transform: translateX(5px); }

/* ---------- 数据横带 ---------- */
.stats-band { background: linear-gradient(120deg, var(--primary-dark), var(--primary) 55%, var(--primary-light)); color: #fff; padding: 66px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stats-grid .num { font-size: clamp(32px, 4vw, 46px); font-weight: 900; font-family: var(--font-display); }
.stats-grid .num i { font-style: normal; font-size: 0.55em; margin-left: 4px; }
.stats-grid .label { opacity: 0.88; font-size: 14.5px; margin-top: 6px; }

/* ---------- 用户故事 / 话题 ---------- */
.stories-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.story-card {
  background: var(--card); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: var(--transition);
}
.story-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.story-card .img-wrap { position: relative; overflow: hidden; height: 210px; }
.story-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.story-card:hover .img-wrap img { transform: scale(1.08); }
.story-card .cat {
  position: absolute; top: 14px; left: 14px; padding: 4px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.92); color: var(--primary-dark); font-size: 12px; font-weight: 700;
}
.story-card .body { padding: 24px 24px 26px; }
.story-card h3 { font-size: 18px; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.story-card h3 a:hover { color: var(--primary-dark); }
.story-card p { font-size: 14px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.story-meta { display: flex; align-items: center; gap: 12px; margin-top: 18px; font-size: 13px; color: var(--muted); }
.story-meta img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }

/* ---------- 口碑评价 ---------- */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.review-card {
  background: var(--card); border-radius: var(--radius); padding: 34px 30px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line); position: relative; transition: var(--transition);
}
.review-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.review-card::before {
  content: "\201C"; position: absolute; top: 12px; right: 26px; font-size: 84px;
  font-family: var(--font-display); color: rgba(255, 94, 126, 0.14); line-height: 1;
}
.review-card .stars { color: var(--accent); letter-spacing: 3px; margin-bottom: 14px; }
.review-card p { font-size: 14.5px; color: var(--text); }
.review-user { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.review-user img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.review-user .name { font-weight: 700; font-size: 15px; }
.review-user .role { font-size: 12.5px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm);
  margin-bottom: 14px; overflow: hidden; transition: var(--transition);
}
.faq-item.open { border-color: var(--primary-light); box-shadow: var(--shadow-sm); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; background: none; border: none; text-align: left;
  font-size: 16px; font-weight: 700; color: var(--text);
}
.faq-q .fi {
  flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: rgba(255, 94, 126, 0.12); color: var(--primary-dark);
  display: flex; align-items: center; justify-content: center; font-size: 18px; transition: transform 0.35s ease;
}
.faq-item.open .faq-q .fi { transform: rotate(45deg); background: var(--primary); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-a .faq-a-inner { padding: 0 24px 22px; color: var(--muted); font-size: 14.5px; }

/* ---------- CTA ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: 28px;
  background: linear-gradient(120deg, var(--primary-dark), var(--primary) 50%, var(--primary-light));
  padding: 72px 8%; text-align: center; color: #fff; box-shadow: var(--shadow-lg);
}
.cta-band::before, .cta-band::after { content: "❤"; position: absolute; color: rgba(255, 255, 255, 0.16); font-size: 150px; line-height: 1; }
.cta-band::before { top: -38px; left: -20px; transform: rotate(-18deg); }
.cta-band::after { bottom: -52px; right: -10px; transform: rotate(16deg); }
.cta-band h2 { font-size: clamp(26px, 3.6vw, 38px); font-family: var(--font-display); position: relative; z-index: 2; }
.cta-band p { margin: 16px auto 32px; max-width: 560px; opacity: 0.92; position: relative; z-index: 2; }
.cta-band .btn { position: relative; z-index: 2; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--footer-bg); color: #cdbcc4; margin-top: 96px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 44px; padding: 72px 0 48px; }
.footer-brand .brand-text { color: #fff; }
.footer-brand p { font-size: 14px; margin: 18px 0; color: #a9939f; max-width: 300px; }
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 20px; position: relative; padding-bottom: 10px; }
.footer-col h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; border-radius: 3px; background: var(--primary); }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul a { font-size: 14px; color: #a9939f; }
.footer-col ul a:hover { color: var(--primary-light); padding-left: 6px; }
.footer-contact li { display: flex; gap: 10px; font-size: 14px; color: #a9939f; margin-bottom: 14px; align-items: flex-start; }
.footer-contact li svg { width: 17px; height: 17px; flex: none; margin-top: 4px; fill: var(--primary-light); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 22px 0; text-align: center;
  font-size: 13.5px; color: #8d7c87;
}
.footer-bottom .heart { color: var(--primary); }

/* ---------- 内页横幅 ---------- */
.page-hero {
  position: relative; overflow: hidden; text-align: center;
  background: linear-gradient(160deg, #fff3f6, #ffe3ec); padding: 84px 0 76px;
}
.page-hero::before { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; background: #ffd3de; opacity: 0.45; filter: blur(8px); top: -140px; right: -100px; }
.page-hero h1 { font-size: clamp(30px, 4vw, 44px); font-family: var(--font-display); position: relative; }
.page-hero h1 span { color: var(--primary); }
.page-hero p { color: var(--muted); margin-top: 14px; max-width: 620px; margin-left: auto; margin-right: auto; position: relative; }
.breadcrumb { display: flex; justify-content: center; gap: 8px; font-size: 13.5px; color: var(--muted); margin-top: 22px; position: relative; }
.breadcrumb a:hover { color: var(--primary-dark); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: #d9b8c2; }

/* ---------- 资讯列表 ---------- */
.news-layout { display: grid; grid-template-columns: 1fr 320px; gap: 44px; align-items: start; }
.news-list { display: grid; gap: 26px; }
.news-card {
  display: grid; grid-template-columns: 280px 1fr; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: var(--transition);
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.news-card .img-wrap { height: 100%; min-height: 196px; overflow: hidden; }
.news-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.news-card:hover .img-wrap img { transform: scale(1.07); }
.news-card .body { padding: 24px 26px; }
.news-card .nc-meta { display: flex; gap: 14px; align-items: center; font-size: 12.5px; color: var(--muted); margin-bottom: 10px; }
.news-card .nc-meta .cat { background: rgba(255, 94, 126, 0.1); color: var(--primary-dark); font-weight: 700; padding: 2px 12px; border-radius: 999px; }
.news-card h2 { font-size: 20px; margin-bottom: 8px; }
.news-card h2 a:hover { color: var(--primary-dark); }
.news-card p { font-size: 14px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 14px; }
.sidebar { position: sticky; top: 100px; display: grid; gap: 28px; }
.side-box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.side-box h3 { font-size: 17px; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px solid var(--bg-soft); position: relative; }
.side-box h3::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 42px; height: 2px; background: var(--primary); }
.hot-list li { display: flex; gap: 12px; margin-bottom: 16px; align-items: flex-start; }
.hot-list .rank {
  flex: none; width: 24px; height: 24px; border-radius: 8px; font-size: 13px; font-weight: 900;
  display: flex; align-items: center; justify-content: center; background: var(--bg-soft); color: var(--muted);
}
.hot-list li:nth-child(1) .rank, .hot-list li:nth-child(2) .rank, .hot-list li:nth-child(3) .rank { background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: #fff; }
.hot-list a { font-size: 14px; line-height: 1.5; }
.hot-list a:hover { color: var(--primary-dark); }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-cloud a {
  padding: 6px 16px; border-radius: 999px; font-size: 13px; background: var(--bg-soft);
  color: var(--muted); border: 1px solid transparent; transition: var(--transition);
}
.tag-cloud a:hover { border-color: var(--primary-light); color: var(--primary-dark); background: #fff; }
.pagination { display: flex; justify-content: center; gap: 10px; margin-top: 48px; }
.pagination a, .pagination span {
  min-width: 44px; height: 44px; padding: 0 14px; border-radius: 12px; display: inline-flex;
  align-items: center; justify-content: center; font-size: 15px; font-weight: 700;
  background: var(--card); border: 1px solid var(--line); color: var(--text);
}
.pagination a:hover { border-color: var(--primary); color: var(--primary-dark); }
.pagination .current { background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: #fff; border-color: transparent; }

/* ---------- 文章详情 ---------- */
.article-layout { display: grid; grid-template-columns: 1fr 320px; gap: 44px; align-items: start; }
.article-main { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(26px, 4vw, 52px); box-shadow: var(--shadow-sm); }
.article-main .a-meta { display: flex; flex-wrap: wrap; gap: 16px; font-size: 13.5px; color: var(--muted); padding-bottom: 20px; border-bottom: 1px dashed var(--line); margin-bottom: 28px; }
.article-main .a-meta .cat { color: var(--primary-dark); font-weight: 700; }
.article-content h2 { font-size: 24px; margin: 36px 0 16px; padding-left: 14px; border-left: 4px solid var(--primary); font-family: var(--font-display); }
.article-content p { margin-bottom: 18px; color: #524049; font-size: 16px; }
.article-content ul { margin: 0 0 18px 22px; }
.article-content ul li { list-style: disc; margin-bottom: 10px; color: #524049; }
.article-content blockquote {
  margin: 26px 0; padding: 22px 26px; background: var(--bg-soft); border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--primary-dark); font-weight: 500;
}
.article-content figure { margin: 28px 0; }
.article-content figure img { border-radius: var(--radius-sm); }
.article-content figcaption { text-align: center; font-size: 13px; color: var(--muted); margin-top: 10px; }
.article-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; padding-top: 24px; border-top: 1px dashed var(--line); }
.article-tags span { font-size: 14px; color: var(--muted); }
.article-share { display: flex; gap: 12px; margin-top: 22px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

/* ---------- 关于我们 ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-grid .img-wrap { position: relative; }
.about-grid .img-wrap img { border-radius: 26px; box-shadow: var(--shadow-md); }
.about-grid .img-wrap::after {
  content: ""; position: absolute; inset: -16px 16px 16px -16px; z-index: -1;
  border-radius: 26px; background: linear-gradient(135deg, var(--secondary), #ffe0c9); opacity: 0.5;
}
.about-text h2 { font-size: clamp(26px, 3.4vw, 36px); font-family: var(--font-display); margin-bottom: 18px; }
.about-text h2 span { color: var(--primary); }
.about-text p { color: var(--muted); margin-bottom: 16px; }
.about-points { margin-top: 24px; display: grid; gap: 14px; }
.about-points li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.about-points svg { width: 22px; height: 22px; flex: none; fill: var(--primary); margin-top: 3px; }
.timeline { position: relative; max-width: 860px; margin: 0 auto; padding: 20px 0; }
.timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; margin-left: -1.5px; background: linear-gradient(180deg, var(--secondary), var(--primary-light)); border-radius: 3px; }
.tl-item { position: relative; width: 50%; padding: 0 46px 46px; }
.tl-item:nth-child(odd) { left: 0; text-align: right; }
.tl-item:nth-child(even) { left: 50%; }
.tl-item::before {
  content: ""; position: absolute; top: 6px; width: 18px; height: 18px; border-radius: 50%;
  background: #fff; border: 5px solid var(--primary); box-shadow: var(--shadow-sm);
}
.tl-item:nth-child(odd)::before { right: -9px; }
.tl-item:nth-child(even)::before { left: -9px; }
.tl-item .tl-year { font-size: 22px; font-weight: 900; color: var(--primary-dark); font-family: var(--font-display); }
.tl-item h3 { font-size: 18px; margin: 6px 0; }
.tl-item p { font-size: 14px; color: var(--muted); }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.value-card { text-align: center; padding: 40px 28px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: var(--transition); }
.value-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.value-card .v-icon { width: 70px; height: 70px; margin: 0 auto 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, rgba(255, 94, 126, 0.14), rgba(255, 143, 171, 0.14)); color: var(--primary-dark); }
.value-card .v-icon svg { width: 32px; height: 32px; }
.value-card h3 { font-size: 19px; margin-bottom: 10px; }
.value-card p { font-size: 14px; color: var(--muted); }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.team-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-align: center; box-shadow: var(--shadow-sm); transition: var(--transition); }
.team-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.team-card img { width: 100%; height: 240px; object-fit: cover; }
.team-card .t-body { padding: 20px 18px 26px; }
.team-card h3 { font-size: 18px; }
.team-card .t-role { color: var(--primary-dark); font-size: 13px; font-weight: 700; margin: 4px 0 10px; }
.team-card p { font-size: 13.5px; color: var(--muted); }

/* ---------- 联系页面 ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 44px; align-items: start; }
.contact-info-cards { display: grid; gap: 20px; }
.info-card { display: flex; gap: 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); transition: var(--transition); align-items: flex-start; }
.info-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.info-card .i-icon { flex: none; width: 54px; height: 54px; border-radius: 16px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: #fff; }
.info-card .i-icon svg { width: 26px; height: 26px; fill: #fff; }
.info-card h3 { font-size: 17px; margin-bottom: 6px; }
.info-card p { font-size: 14px; color: var(--muted); }
.contact-form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(26px, 3.5vw, 44px); box-shadow: var(--shadow-md); }
.contact-form h2 { font-size: 24px; margin-bottom: 8px; font-family: var(--font-display); }
.contact-form > p { color: var(--muted); font-size: 14.5px; margin-bottom: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.form-group label i { color: var(--primary); font-style: normal; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: var(--bg); transition: var(--transition); color: var(--text); outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--primary); background: #fff; box-shadow: 0 0 0 4px rgba(255, 94, 126, 0.12); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-tip { font-size: 13px; color: var(--muted); margin-top: 14px; }
.form-success { display: none; margin-top: 16px; padding: 14px 18px; border-radius: var(--radius-sm); background: #e9f9ee; color: #1e8e4e; font-size: 14px; font-weight: 700; }
.form-success.show { display: block; }

/* ---------- 产品 / 服务页 ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.product-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition);
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.product-card .img-wrap { height: 190px; overflow: hidden; position: relative; }
.product-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.product-card:hover .img-wrap img { transform: scale(1.08); }
.product-card .p-badge { position: absolute; top: 14px; right: 14px; padding: 4px 14px; border-radius: 999px; background: linear-gradient(135deg, var(--accent), #ffd166); color: #7a5200; font-size: 12px; font-weight: 900; }
.product-card .p-body { padding: 24px 24px 28px; display: flex; flex-direction: column; flex: 1; }
.product-card h3 { font-size: 19px; margin-bottom: 8px; }
.product-card > .p-body > p { font-size: 14px; color: var(--muted); flex: 1; }
.product-card .p-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 20px; }
.product-card .price { font-size: 22px; font-weight: 900; color: var(--primary-dark); font-family: var(--font-display); }
.product-card .price small { font-size: 12px; font-weight: 500; color: var(--muted); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: stretch; }
.price-card {
  background: var(--card); border: 1.5px solid var(--line); border-radius: 22px;
  padding: 40px 32px; text-align: center; transition: var(--transition); position: relative;
}
.price-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.price-card.featured { border-color: var(--primary); box-shadow: var(--shadow-md); transform: scale(1.04); }
.price-card.featured:hover { transform: scale(1.04) translateY(-8px); }
.price-card .p-tag { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); padding: 5px 20px; border-radius: 999px; background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: #fff; font-size: 13px; font-weight: 900; white-space: nowrap; }
.price-card h3 { font-size: 20px; }
.price-card .p-price { margin: 18px 0 6px; font-size: 44px; font-weight: 900; color: var(--primary-dark); font-family: var(--font-display); }
.price-card .p-price small { font-size: 15px; color: var(--muted); font-weight: 500; }
.price-card .p-desc { font-size: 13.5px; color: var(--muted); margin-bottom: 24px; }
.price-card ul { text-align: left; margin-bottom: 30px; display: grid; gap: 12px; }
.price-card ul li { display: flex; gap: 10px; font-size: 14.5px; align-items: flex-start; }
.price-card ul li svg { width: 19px; height: 19px; flex: none; fill: var(--primary); margin-top: 3px; }
.price-card ul li.off { color: #c3b2ba; }
.price-card ul li.off svg { fill: #d9c7ce; }

/* ---------- 流程步骤 ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; counter-reset: step; }
.step-card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 26px 30px; text-align: center; box-shadow: var(--shadow-sm); transition: var(--transition); counter-increment: step; }
.step-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.step-card::before {
  content: "0" counter(step); display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%; margin-bottom: 18px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: #fff;
  font-size: 19px; font-weight: 900; font-family: var(--font-display);
}
.step-card h3 { font-size: 17px; margin-bottom: 8px; }
.step-card p { font-size: 13.5px; color: var(--muted); }

/* ---------- 返回顶部 ---------- */
.back-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 900; width: 48px; height: 48px;
  border-radius: 50%; border: none; background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff; box-shadow: var(--shadow-md); display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(16px); transition: var(--transition);
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { transform: translateY(-4px); }
.back-top svg { width: 22px; height: 22px; fill: #fff; }

/* ---------- 动画 ---------- */
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(0.8); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(34px); } to { opacity: 1; transform: translateY(0); } }
.hero-badge, .hero h1, .hero-sub, .hero-btns, .hero-stats { animation: fadeInUp 0.8s ease both; }
.hero h1 { animation-delay: 0.1s; }
.hero-sub { animation-delay: 0.22s; }
.hero-btns { animation-delay: 0.34s; }
.hero-stats { animation-delay: 0.46s; }
.hero-visual { animation: fadeInUp 0.9s ease 0.25s both; }
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .features-grid, .steps-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .stories-grid, .reviews-grid, .product-grid, .pricing-grid, .values-grid, .related-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .news-layout, .article-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}
@media (max-width: 900px) {
  .nav-menu {
    position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: #fff; padding: 16px 5%; gap: 4px; box-shadow: var(--shadow-md);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: var(--transition);
  }
  .nav-menu.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav-menu a { padding: 13px 16px; }
  .nav-toggle { display: flex; }
  .btn-nav { display: none; }
  .hero { padding: 64px 0 80px; }
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { max-width: 560px; }
  .float-card.fc1 { left: 8px; }
  .float-card.fc2 { right: 8px; }
  .about-grid { grid-template-columns: 1fr; gap: 44px; }
  .contact-grid { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
}
@media (max-width: 640px) {
  .features-grid, .steps-grid, .team-grid, .stories-grid, .reviews-grid,
  .product-grid, .pricing-grid, .values-grid, .related-grid, .form-row { grid-template-columns: 1fr; }
  .service-card { grid-template-columns: 1fr; }
  .service-card .sc-img { min-height: 180px; height: 180px; }
  .news-card { grid-template-columns: 1fr; }
  .news-card .img-wrap { height: 190px; }
  .hero-stats { gap: 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; padding: 56px 0 36px; }
  .timeline::before { left: 12px; }
  .tl-item { width: 100%; left: 0 !important; text-align: left !important; padding: 0 0 40px 44px; }
  .tl-item::before { left: 3px !important; right: auto !important; }
  .price-card.featured { transform: none; }
  .cta-band { padding: 56px 8%; }
  .back-top { right: 18px; bottom: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
