/* ============================================================
   51爆料免费看 - 全站样式表
   主题：暗色娱乐资讯风 / 玫红橙渐变点缀
   ============================================================ */

:root {
  --bg: #0d0d17;
  --bg-2: #12121f;
  --bg-3: #17172a;
  --card: #1a1a2e;
  --card-hover: #20203a;
  --primary: #ff2d75;
  --primary-2: #ff7a18;
  --gold: #ffc94d;
  --cyan: #38e1ff;
  --text: #f3f3fa;
  --muted: #a5a5bd;
  --muted-2: #7c7c94;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --gradient: linear-gradient(135deg, #ff2d75 0%, #ff7a18 100%);
  --gradient-soft: linear-gradient(135deg, rgba(255, 45, 117, 0.16), rgba(255, 122, 24, 0.16));
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 18px 44px rgba(0, 0, 0, 0.42);
  --shadow-sm: 0 8px 22px rgba(0, 0, 0, 0.3);
  --font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

/* ---------- 基础 ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  font-size: 16px;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.25s ease; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; }

::selection { background: var(--primary); color: #fff; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: #33335a; border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.grad-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 32px; border-radius: 999px;
  font-size: 16px; font-weight: 700; letter-spacing: 0.5px;
  background: var(--gradient); color: #fff;
  box-shadow: 0 10px 26px rgba(255, 45, 117, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  position: relative; overflow: hidden;
}
.btn::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform 0.6s ease;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(255, 45, 117, 0.5); filter: brightness(1.05); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(-1px); }

.btn-ghost {
  background: transparent; color: var(--text);
  border: 1px solid var(--border-strong); box-shadow: none;
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); box-shadow: 0 10px 24px rgba(255,45,117,0.18); }

.btn-sm { padding: 9px 22px; font-size: 14px; }

/* ---------- 头部导航 ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(13, 13, 23, 0.78);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.site-header.scrolled { border-bottom-color: var(--border); box-shadow: 0 10px 30px rgba(0,0,0,0.35); background: rgba(13,13,23,0.92); }

.nav { display: flex; align-items: center; gap: 28px; height: 72px; }

.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 20px; letter-spacing: 0.5px; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 12px; flex: 0 0 42px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gradient); color: #fff; font-size: 19px; font-weight: 900;
  box-shadow: 0 6px 18px rgba(255,45,117,0.45);
  transform: rotate(-6deg); transition: transform 0.3s ease;
}
.brand:hover .brand-mark { transform: rotate(0deg) scale(1.06); }
.brand-text { white-space: nowrap; }

.nav-menu { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav-menu a {
  position: relative; display: block; padding: 8px 16px; font-size: 15px; font-weight: 500;
  color: var(--muted); border-radius: 8px;
}
.nav-menu a::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 2px; height: 2px;
  background: var(--gradient); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s ease;
}
.nav-menu a:hover, .nav-menu a.active { color: var(--text); }
.nav-menu a:hover::after, .nav-menu a.active::after { transform: scaleX(1); }

.nav-cta { margin-left: 8px; }

.nav-toggle { display: none; width: 44px; height: 44px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; }
.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; padding: 170px 0 90px; overflow: hidden;
  background: radial-gradient(1000px 520px at 85% -10%, rgba(255,45,117,0.2), transparent 60%),
              radial-gradient(760px 480px at -10% 30%, rgba(255,122,24,0.14), transparent 60%),
              var(--bg);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; border-radius: 999px; font-size: 13px; font-weight: 600;
  color: var(--gold); background: rgba(255,201,77,0.1); border: 1px solid rgba(255,201,77,0.3);
  margin-bottom: 22px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); animation: pulse 1.6s infinite; }

.hero h1 { font-size: clamp(30px, 4.4vw, 52px); font-weight: 900; line-height: 1.3; letter-spacing: 1px; margin-bottom: 20px; }
.hero-desc { font-size: 17px; color: var(--muted); max-width: 540px; margin-bottom: 34px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 44px; }

.hero-stats { display: flex; flex-wrap: wrap; gap: 36px; }
.stat-item .stat-num { font-size: 30px; font-weight: 900; }
.stat-item .stat-num i { font-style: normal; color: var(--primary); }
.stat-item .stat-label { font-size: 13px; color: var(--muted-2); margin-top: 2px; }

.hero-media { position: relative; }
.hero-media .media-frame {
  position: relative; border-radius: 24px; overflow: hidden;
  border: 1px solid var(--border-strong); box-shadow: var(--shadow);
  transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
  transition: transform 0.6s ease;
}
.hero-media:hover .media-frame { transform: perspective(1200px) rotateY(0deg) rotateX(0deg); }
.hero-media img { width: 100%; height: 420px; object-fit: cover; }

.float-card {
  position: absolute; padding: 12px 18px; border-radius: 14px;
  background: rgba(26,26,46,0.9); backdrop-filter: blur(8px);
  border: 1px solid var(--border-strong); box-shadow: var(--shadow-sm);
  font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 10px;
  animation: float 4s ease-in-out infinite;
}
.float-card .fc-icon { width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: var(--gradient); color: #fff; flex: 0 0 34px; }
.float-card small { display: block; font-weight: 400; color: var(--muted-2); }
.float-card-1 { top: 26px; left: -30px; }
.float-card-2 { bottom: 30px; right: -24px; animation-delay: 1.4s; }

/* ---------- 爆料滚动条 ---------- */
.ticker-wrap { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); overflow: hidden; }
.ticker { display: flex; width: max-content; animation: marquee 36s linear infinite; padding: 13px 0; }
.ticker:hover { animation-play-state: paused; }
.ticker span { display: inline-flex; align-items: center; margin: 0 26px; font-size: 14px; color: var(--muted); white-space: nowrap; }
.ticker b { color: var(--primary); font-weight: 700; margin-right: 8px; }
.ticker .hot { color: var(--primary-2); }

/* ---------- 通用区块 ---------- */
.section { padding: 96px 0; position: relative; }
.section-alt { background: var(--bg-2); }

.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-tag {
  display: inline-block; padding: 6px 18px; border-radius: 999px;
  font-size: 13px; font-weight: 700; letter-spacing: 2px;
  color: var(--primary); background: rgba(255,45,117,0.1); border: 1px solid rgba(255,45,117,0.3);
  margin-bottom: 16px; text-transform: uppercase;
}
.section-head h2 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 900; letter-spacing: 1px; margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 16px; }

/* ---------- 核心特性 ---------- */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 34px 26px; text-align: center; position: relative; overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.feature-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: var(--gradient); transform: scaleX(0); transition: transform 0.35s ease;
}
.feature-card:hover { transform: translateY(-8px); border-color: rgba(255,45,117,0.4); box-shadow: var(--shadow-sm); }
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon {
  width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gradient-soft); color: var(--primary);
  transition: transform 0.35s ease, background 0.35s ease, color 0.35s ease;
}
.feature-card:hover .feature-icon { background: var(--gradient); color: #fff; transform: rotate(-6deg) scale(1.08); }
.feature-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: var(--muted); }

/* ---------- 服务介绍 ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.service-thumb { position: relative; height: 200px; overflow: hidden; }
.service-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.service-card:hover .service-thumb img { transform: scale(1.08); }
.service-thumb .chip {
  position: absolute; top: 14px; left: 14px; padding: 5px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 700; color: #fff; background: rgba(255,45,117,0.92);
  backdrop-filter: blur(4px);
}
.service-body { padding: 26px; }
.service-body h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.service-body p { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.service-link { font-size: 14px; font-weight: 700; color: var(--primary); display: inline-flex; align-items: center; gap: 6px; }
.service-link svg { transition: transform 0.3s ease; }
.service-link:hover svg { transform: translateX(5px); }

/* ---------- 新闻卡片 ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.news-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.news-card:hover { transform: translateY(-8px); border-color: rgba(255,122,24,0.45); box-shadow: var(--shadow); }
.news-thumb { position: relative; height: 190px; overflow: hidden; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.news-card:hover .news-thumb img { transform: scale(1.08); }
.news-cat {
  position: absolute; top: 12px; left: 12px; padding: 4px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 700; color: #fff;
}
.news-cat.c-star { background: rgba(255,45,117,0.92); }
.news-cat.c-influencer { background: rgba(255,122,24,0.92); }
.news-cat.c-deep { background: rgba(124,77,255,0.92); }
.news-cat.c-hot { background: rgba(229,45,39,0.92); }
.news-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.news-body h3 { font-size: 17px; font-weight: 700; line-height: 1.55; margin-bottom: 10px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-card:hover .news-body h3 { color: var(--primary); }
.news-body p { font-size: 14px; color: var(--muted); flex: 1;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-meta { display: flex; align-items: center; gap: 16px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border); font-size: 13px; color: var(--muted-2); }
.news-meta .views { margin-left: auto; color: var(--primary); font-weight: 700; }

/* ---------- 内页横幅 ---------- */
.page-banner {
  padding: 160px 0 70px; text-align: center; position: relative; overflow: hidden;
  background: radial-gradient(800px 400px at 50% -20%, rgba(255,45,117,0.22), transparent 65%), var(--bg-2);
  border-bottom: 1px solid var(--border);
}
.page-banner h1 { font-size: clamp(28px, 4vw, 44px); font-weight: 900; letter-spacing: 1px; margin-bottom: 14px; }
.page-banner p { color: var(--muted); max-width: 640px; margin: 0 auto 18px; }
.breadcrumb { display: flex; justify-content: center; gap: 10px; font-size: 14px; color: var(--muted-2); }
.breadcrumb a { color: var(--primary); }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- 筛选标签 ---------- */
.filter-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 48px; }
.filter-tabs button {
  padding: 10px 26px; border-radius: 999px; font-size: 14px; font-weight: 600;
  color: var(--muted); background: var(--card); border: 1px solid var(--border);
  transition: all 0.3s ease;
}
.filter-tabs button:hover { color: var(--text); border-color: var(--border-strong); }
.filter-tabs button.active { background: var(--gradient); color: #fff; border-color: transparent; box-shadow: 0 8px 20px rgba(255,45,117,0.35); }

/* ---------- 分页 ---------- */
.pagination { display: flex; justify-content: center; gap: 10px; margin-top: 56px; }
.pagination a {
  min-width: 44px; height: 44px; padding: 0 16px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 600; color: var(--muted);
  background: var(--card); border: 1px solid var(--border); transition: all 0.3s ease;
}
.pagination a:hover { color: var(--text); border-color: var(--border-strong); }
.pagination a.current { background: var(--gradient); color: #fff; border-color: transparent; }

/* ---------- 侧栏 ---------- */
.layout-2col { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }
.side-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; margin-bottom: 26px; }
.side-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.side-card h3 i { font-style: normal; color: var(--primary); margin-right: 6px; }

.rank-list li { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px dashed var(--border); }
.rank-list li:last-child { border-bottom: none; }
.rank-num {
  width: 26px; height: 26px; flex: 0 0 26px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800; background: var(--bg-3); color: var(--muted);
}
.rank-list li:nth-child(1) .rank-num { background: var(--gradient); color: #fff; }
.rank-list li:nth-child(2) .rank-num { background: rgba(255,45,117,0.5); color: #fff; }
.rank-list li:nth-child(3) .rank-num { background: rgba(255,122,24,0.45); color: #fff; }
.rank-list a { font-size: 14px; line-height: 1.6; color: var(--muted); }
.rank-list a:hover { color: var(--primary); }

.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-cloud a {
  padding: 6px 14px; border-radius: 999px; font-size: 13px;
  background: var(--bg-3); color: var(--muted); border: 1px solid var(--border);
  transition: all 0.25s ease;
}
.tag-cloud a:hover { color: #fff; background: var(--gradient); border-color: transparent; }

/* ---------- 文章详情 ---------- */
.article-main { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 44px; }
.article-main h1 { font-size: clamp(24px, 3vw, 34px); font-weight: 900; line-height: 1.5; margin-bottom: 18px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 20px; font-size: 14px; color: var(--muted-2); padding-bottom: 22px; border-bottom: 1px solid var(--border); margin-bottom: 28px; }
.article-meta .am-hot { color: var(--primary); font-weight: 700; }
.article-hero-img { border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 30px; }
.article-hero-img img { width: 100%; max-height: 420px; object-fit: cover; }
.article-content h2 { font-size: 22px; font-weight: 800; margin: 34px 0 14px; padding-left: 14px; border-left: 4px solid var(--primary); }
.article-content h3 { font-size: 18px; font-weight: 700; margin: 26px 0 10px; }
.article-content p { margin-bottom: 18px; color: #d9d9e6; font-size: 16px; }
.article-content img { border-radius: var(--radius-sm); margin: 24px 0; }
.article-content blockquote {
  margin: 26px 0; padding: 22px 26px; border-radius: var(--radius-sm);
  background: var(--gradient-soft); border-left: 4px solid var(--primary);
  color: var(--text); font-size: 15px;
}
.article-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0; padding-top: 24px; border-top: 1px solid var(--border); }
.article-tags span { font-size: 14px; color: var(--muted-2); margin-right: 4px; line-height: 34px; }
.article-tags a { padding: 5px 14px; border-radius: 999px; font-size: 13px; background: var(--bg-3); color: var(--muted); border: 1px solid var(--border); }
.article-tags a:hover { color: #fff; background: var(--gradient); border-color: transparent; }

.author-box { display: flex; gap: 18px; align-items: center; background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 22px; margin-top: 10px; }
.author-box img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 2px solid var(--primary); }
.author-box .ab-name { font-weight: 700; margin-bottom: 4px; }
.author-box .ab-name small { color: var(--gold); font-weight: 500; margin-left: 8px; font-size: 12px; }
.author-box p { font-size: 13px; color: var(--muted); }

.article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 30px; }
.article-nav a { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 18px 22px; transition: all 0.3s ease; }
.article-nav a:hover { border-color: var(--primary); transform: translateY(-3px); }
.article-nav small { display: block; color: var(--muted-2); font-size: 12px; margin-bottom: 6px; }
.article-nav strong { font-size: 14px; font-weight: 600; color: var(--muted); }
.article-nav a:hover strong { color: var(--primary); }
.article-nav .next { text-align: right; }

.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 14px; overflow: hidden; transition: border-color 0.3s ease; }
.faq-item.open { border-color: rgba(255,45,117,0.45); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; font-size: 16px; font-weight: 600; text-align: left; color: var(--text);
}
.faq-q .fq-icon {
  width: 28px; height: 28px; flex: 0 0 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-3); color: var(--primary); font-size: 18px; font-weight: 700;
  transition: transform 0.35s ease, background 0.35s ease;
}
.faq-item.open .fq-icon { transform: rotate(45deg); background: var(--gradient); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-a-inner { padding: 0 24px 22px; color: var(--muted); font-size: 14px; }

/* ---------- CTA ---------- */
.cta-section {
  position: relative; overflow: hidden; border-radius: 24px;
  padding: 72px 48px; text-align: center;
  background: linear-gradient(135deg, #2a0f22 0%, #2c1508 100%);
  border: 1px solid rgba(255,45,117,0.3);
}
.cta-section::before, .cta-section::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.5;
}
.cta-section::before { width: 340px; height: 340px; background: rgba(255,45,117,0.5); top: -140px; left: -100px; }
.cta-section::after { width: 300px; height: 300px; background: rgba(255,122,24,0.45); bottom: -130px; right: -90px; }
.cta-inner { position: relative; z-index: 1; }
.cta-section h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 900; margin-bottom: 14px; }
.cta-section p { color: var(--muted); max-width: 560px; margin: 0 auto 32px; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }

/* ---------- 价格/产品 ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.price-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 38px 32px; position: relative; display: flex; flex-direction: column;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.price-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.price-card.popular { border-color: var(--primary); background: linear-gradient(180deg, rgba(255,45,117,0.1), var(--card) 40%); }
.popular-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  padding: 5px 20px; border-radius: 999px; font-size: 12px; font-weight: 800; color: #fff;
  background: var(--gradient); box-shadow: 0 6px 16px rgba(255,45,117,0.45); white-space: nowrap;
}
.price-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.price-card .price-sub { font-size: 13px; color: var(--muted-2); margin-bottom: 22px; }
.price-num { font-size: 46px; font-weight: 900; line-height: 1; margin-bottom: 4px; }
.price-num small { font-size: 15px; font-weight: 600; color: var(--muted-2); }
.price-num .currency { font-size: 22px; vertical-align: top; }
.price-period { font-size: 13px; color: var(--muted-2); margin-bottom: 26px; }
.price-features { flex: 1; margin-bottom: 28px; }
.price-features li { display: flex; gap: 10px; align-items: flex-start; padding: 9px 0; font-size: 14px; color: var(--muted); }
.price-features li::before {
  content: ""; width: 18px; height: 18px; flex: 0 0 18px; margin-top: 3px; border-radius: 50%;
  background: var(--gradient-soft) center/12px 12px no-repeat,
              linear-gradient(135deg, rgba(255,45,117,0.25), rgba(255,122,24,0.25));
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff2d75' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 12px; background-position: center; background-repeat: no-repeat;
  background-color: rgba(255,45,117,0.12);
}
.price-features li.no { color: var(--muted-2); text-decoration: line-through; }
.price-features li.no::before { background-color: var(--bg-3); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237c7c94' stroke-width='3' stroke-linecap='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E"); }
.price-card .btn { width: 100%; }

/* 对比表 */
.compare-table { width: 100%; border-collapse: collapse; background: var(--card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.compare-table th, .compare-table td { padding: 16px 20px; text-align: center; font-size: 14px; border-bottom: 1px solid var(--border); }
.compare-table th { background: var(--bg-3); font-weight: 700; font-size: 15px; }
.compare-table td:first-child, .compare-table th:first-child { text-align: left; color: var(--muted); }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table .yes { color: var(--primary); font-weight: 700; }
.compare-table .no { color: var(--muted-2); }
.compare-wrap { overflow-x: auto; border-radius: var(--radius); }

/* ---------- 关于我们 ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about-media img { width: 100%; height: 420px; object-fit: cover; }
.about-text h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 900; margin-bottom: 18px; }
.about-text p { color: var(--muted); margin-bottom: 16px; font-size: 15px; }
.about-list { margin-top: 22px; }
.about-list li { display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; font-size: 15px; color: var(--text); }
.about-list li::before {
  content: ""; width: 20px; height: 20px; flex: 0 0 20px; margin-top: 4px; border-radius: 50%;
  background-color: rgba(255,45,117,0.15);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff2d75' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 12px; background-position: center; background-repeat: no-repeat;
}

.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* 时间轴 */
.timeline { position: relative; max-width: 760px; margin: 0 auto; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(180deg, var(--primary), var(--primary-2)); border-radius: 2px; }
.timeline-item { position: relative; padding: 0 0 40px 26px; }
.timeline-item::before {
  content: ""; position: absolute; left: -32px; top: 6px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--bg); border: 3px solid var(--primary); box-shadow: 0 0 0 5px rgba(255,45,117,0.15);
}
.timeline-item .tl-year { font-size: 22px; font-weight: 900; color: var(--primary); margin-bottom: 6px; }
.timeline-item h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.timeline-item p { font-size: 14px; color: var(--muted); }

/* 团队 */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 22px; text-align: center; transition: transform 0.35s ease, box-shadow 0.35s ease; }
.team-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-sm); }
.team-card img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin: 0 auto 18px; border: 3px solid rgba(255,45,117,0.5); }
.team-card h3 { font-size: 17px; font-weight: 700; }
.team-card .role { font-size: 13px; color: var(--primary); font-weight: 600; margin: 4px 0 10px; }
.team-card p { font-size: 13px; color: var(--muted); }

/* ---------- 联系我们 ---------- */
.contact-grid { display: grid; grid-template-columns: 380px 1fr; gap: 40px; align-items: start; }
.contact-info-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; }
.contact-info-card h3 { font-size: 19px; font-weight: 800; margin-bottom: 20px; }
.ci-item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px dashed var(--border); }
.ci-item:last-child { border-bottom: none; }
.ci-icon { width: 42px; height: 42px; flex: 0 0 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--gradient-soft); color: var(--primary); }
.ci-item strong { display: block; font-size: 14px; margin-bottom: 2px; }
.ci-item span { font-size: 13px; color: var(--muted); word-break: break-all; }

.contact-form-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; }
.contact-form-card h3 { font-size: 19px; font-weight: 800; margin-bottom: 8px; }
.contact-form-card > p { font-size: 14px; color: var(--muted); 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: 600; margin-bottom: 8px; }
.form-group label i { font-style: normal; color: var(--primary); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 13px 16px; border-radius: var(--radius-sm);
  background: var(--bg-3); border: 1px solid var(--border); color: var(--text);
  font-size: 15px; outline: none; transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--primary); box-shadow: 0 0 0 4px rgba(255,45,117,0.12);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-note { display: none; margin-top: 16px; padding: 14px 18px; border-radius: var(--radius-sm); font-size: 14px; background: rgba(46,204,113,0.12); border: 1px solid rgba(46,204,113,0.4); color: #4ade80; }
.form-note.show { display: block; }

.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); margin-top: 40px; }
.map-wrap img { width: 100%; height: 320px; object-fit: cover; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--border); margin-top: 96px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 64px 24px 44px; }
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { font-size: 14px; color: var(--muted); max-width: 300px; }
.footer-col h4 { font-size: 16px; font-weight: 700; margin-bottom: 18px; position: relative; padding-bottom: 10px; }
.footer-col h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 32px; height: 2px; background: var(--gradient); border-radius: 2px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { font-size: 14px; color: var(--muted); }
.footer-col ul a:hover { color: var(--primary); padding-left: 4px; }
.footer-contact li { display: flex; gap: 10px; font-size: 14px; color: var(--muted); margin-bottom: 12px; align-items: flex-start; }
.footer-contact li svg { flex: 0 0 16px; margin-top: 5px; color: var(--primary); }
.footer-bottom { border-top: 1px solid var(--border); padding: 22px 24px; text-align: center; }
.footer-bottom p { font-size: 13px; color: var(--muted-2); }
.footer-disclaimer { margin-top: 6px; font-size: 12px; opacity: 0.75; }

/* ---------- 返回顶部 ---------- */
.back-to-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 900;
  width: 48px; height: 48px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gradient); color: #fff; box-shadow: 0 10px 24px rgba(255,45,117,0.4);
  opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: all 0.35s ease;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-4px); }

/* ---------- 动画 ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(34px); } to { opacity: 1; transform: translateY(0); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255,201,77,0.6); } 60% { box-shadow: 0 0 0 9px rgba(255,201,77,0); } }

.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .features-grid, .values-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid, .news-grid, .pricing-grid, .related-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .layout-2col { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .section { padding: 68px 0; }
  .hero { padding: 130px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-media img { height: 300px; }
  .float-card-1 { left: 8px; }
  .float-card-2 { right: 8px; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-media img { height: 300px; }
  .article-main { padding: 26px 20px; }
  .article-nav { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-section { padding: 52px 24px; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }
  .nav-menu {
    position: fixed; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: rgba(13,13,23,0.98); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border); padding: 16px 24px 24px;
    transform: translateY(-130%); transition: transform 0.4s ease; z-index: 999;
  }
  .nav-menu.open { transform: translateY(0); }
  .nav-menu a { padding: 13px 10px; font-size: 16px; border-bottom: 1px solid var(--border); border-radius: 0; }
  .nav-menu a::after { display: none; }
}

@media (max-width: 560px) {
  .features-grid, .values-grid, .services-grid, .news-grid, .pricing-grid, .related-grid, .team-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 22px; }
  .stat-item .stat-num { font-size: 24px; }
  .price-card.popular { order: -1; }
}
