/* =========================================================
   17c一起草·传媒 MCN机构官网 —— 全站样式 style.css
   视觉方案：新锐网感 + 潮酷赛博
   主色 #7B2CBF 潮酷紫 / 辅色 #00D26A 草绿 / #1A1A1A 深邃黑
   背景 #FAFAFA 极浅灰 / 正文 #2D3436
   命名前缀采用本套专属 yqc- (一起草) 以避免与其它模板雷同
   ========================================================= */

:root {
  --yqc-purple: #7B2CBF;
  --yqc-purple-deep: #5a1f8f;
  --yqc-green: #00D26A;
  --yqc-black: #1A1A1A;
  --yqc-bg: #FAFAFA;
  --yqc-text: #2D3436;
  --yqc-muted: #6b7280;
  --yqc-line: #ececf1;
  --yqc-grad: linear-gradient(120deg, #7B2CBF 0%, #9d4edd 45%, #00D26A 100%);
  --yqc-grad-soft: linear-gradient(135deg, rgba(123,44,191,.12), rgba(0,210,106,.12));
  --yqc-radius: 18px;
  --yqc-radius-sm: 10px;
  --yqc-shadow: 0 12px 40px rgba(123,44,191,.12);
  --yqc-shadow-hover: 0 20px 60px rgba(123,44,191,.22);
  --yqc-maxw: 1200px;
  --yqc-font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Heiti SC", "Source Han Sans CN", system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--yqc-font);
  color: var(--yqc-text);
  background: var(--yqc-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; }
ul { list-style: none; }

.yqc-container { max-width: var(--yqc-maxw); margin: 0 auto; padding: 0 20px; }
.yqc-section { padding: 72px 0; }
.yqc-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ---------- 通用文字 ---------- */
.yqc-eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 700; letter-spacing: 2px;
  color: var(--yqc-purple);
  background: var(--yqc-grad-soft);
  padding: 6px 16px; border-radius: 999px; margin-bottom: 18px;
}
.yqc-h2 {
  font-size: clamp(28px, 5vw, 46px);
  font-weight: 900; line-height: 1.2; color: var(--yqc-black);
  letter-spacing: -.5px; margin-bottom: 16px;
}
.yqc-h2 em { font-style: normal; background: var(--yqc-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.yqc-lead { font-size: 17px; color: var(--yqc-muted); max-width: 640px; }
.yqc-center { text-align: center; }
.yqc-center .yqc-lead { margin-left: auto; margin-right: auto; }

/* ---------- 按钮 ---------- */
.yqc-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 15px; cursor: pointer;
  padding: 14px 30px; border-radius: 999px; border: none;
  transition: transform .25s ease, box-shadow .25s ease;
}
.yqc-btn-primary { background: var(--yqc-grad); color: #fff; box-shadow: var(--yqc-shadow); }
.yqc-btn-primary:hover { transform: translateY(-3px); box-shadow: var(--yqc-shadow-hover); }
.yqc-btn-ghost { background: transparent; color: var(--yqc-purple); border: 2px solid var(--yqc-purple); }
.yqc-btn-ghost:hover { background: var(--yqc-purple); color: #fff; transform: translateY(-3px); }
.yqc-btn-dark { background: var(--yqc-black); color: #fff; }
.yqc-btn-dark:hover { background: var(--yqc-green); color: var(--yqc-black); transform: translateY(-3px); }

/* ---------- 顶部导航 ---------- */
.yqc-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(250,250,250,.86);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--yqc-line);
}
.yqc-nav { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.yqc-logo { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 19px; color: var(--yqc-black); }
.yqc-logo img { width: 38px; height: 38px; border-radius: 10px; }
.yqc-logo span em { font-style: normal; color: var(--yqc-purple); }
.yqc-menu { display: flex; align-items: center; gap: 28px; }
.yqc-menu a { font-weight: 600; font-size: 15px; color: var(--yqc-text); position: relative; }
.yqc-menu a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--yqc-grad); transition: width .3s; }
.yqc-menu a:hover::after, .yqc-menu a.active::after { width: 100%; }
.yqc-nav-actions { display: flex; align-items: center; gap: 12px; }
.yqc-burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.yqc-burger span { width: 24px; height: 2px; background: var(--yqc-black); transition: .3s; }

/* ---------- Hero ---------- */
.yqc-hero { position: relative; color: #fff; overflow: hidden; }
.yqc-hero-bg { position: absolute; inset: 0; z-index: -2; }
.yqc-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.yqc-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, rgba(26,26,26,.82), rgba(90,31,143,.6)); }
.yqc-hero-inner { padding: 110px 0 120px; max-width: 820px; }
.yqc-hero h1 { font-size: clamp(40px, 8vw, 84px); font-weight: 900; line-height: 1.05; letter-spacing: -1px; margin-bottom: 22px; }
.yqc-hero-rotator { display: block; min-height: 1.2em; margin-bottom: 18px; font-size: clamp(20px, 3.5vw, 30px); font-weight: 800; }
.yqc-hero-rotator b { background: linear-gradient(90deg, #00D26A, #b6ffdb); -webkit-background-clip: text; background-clip: text; color: transparent; }
.yqc-hero p { font-size: 18px; color: rgba(255,255,255,.9); margin-bottom: 32px; max-width: 620px; }
.yqc-hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- 数据看板 ---------- */
.yqc-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.yqc-stat-card {
  background: #fff; border-radius: var(--yqc-radius); padding: 32px 22px; text-align: center;
  border: 1px solid var(--yqc-line); box-shadow: var(--yqc-shadow); transition: transform .3s;
}
.yqc-stat-card:hover { transform: translateY(-6px); }
.yqc-stat-num { font-size: clamp(34px, 5vw, 52px); font-weight: 900; background: var(--yqc-grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
.yqc-stat-num .yqc-unit { font-size: 20px; }
.yqc-stat-label { margin-top: 10px; font-size: 15px; color: var(--yqc-muted); font-weight: 600; }

/* ---------- 达人橱窗 / 矩阵 ---------- */
.yqc-creator-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.yqc-creator-card {
  background: #fff; border-radius: var(--yqc-radius); overflow: hidden;
  border: 1px solid var(--yqc-line); box-shadow: var(--yqc-shadow); transition: transform .3s, box-shadow .3s;
}
.yqc-creator-card:hover { transform: translateY(-8px); box-shadow: var(--yqc-shadow-hover); }
.yqc-creator-thumb { position: relative; aspect-ratio: 3/4; overflow: hidden; }
.yqc-creator-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.yqc-creator-card:hover .yqc-creator-thumb img { transform: scale(1.06); }
.yqc-creator-tag { position: absolute; top: 12px; left: 12px; background: var(--yqc-grad); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.yqc-creator-body { padding: 18px; }
.yqc-creator-body h3 { font-size: 18px; font-weight: 800; color: var(--yqc-black); margin-bottom: 4px; }
.yqc-creator-meta { font-size: 13px; color: var(--yqc-muted); margin-bottom: 10px; }
.yqc-creator-stats { display: flex; gap: 16px; font-size: 13px; font-weight: 700; color: var(--yqc-purple); }

/* ---------- 多维筛选器（标签云） ---------- */
.yqc-filter { background: #fff; border: 1px solid var(--yqc-line); border-radius: var(--yqc-radius); padding: 26px; box-shadow: var(--yqc-shadow); margin-bottom: 36px; }
.yqc-filter-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 16px; }
.yqc-filter-row:last-child { margin-bottom: 0; }
.yqc-filter-label { font-weight: 800; color: var(--yqc-black); margin-right: 6px; min-width: 70px; }
.yqc-chip {
  font-size: 14px; font-weight: 600; padding: 8px 18px; border-radius: 999px; cursor: pointer;
  background: var(--yqc-grad-soft); color: var(--yqc-purple); border: 1px solid transparent; transition: .25s;
}
.yqc-chip:hover { border-color: var(--yqc-purple); }
.yqc-chip.active { background: var(--yqc-grad); color: #fff; }

/* ---------- Logo 墙 ---------- */
.yqc-logowall { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; align-items: center; }
.yqc-logowall .yqc-logo-item { background: #fff; border: 1px solid var(--yqc-line); border-radius: var(--yqc-radius-sm); padding: 18px; display: flex; align-items: center; justify-content: center; transition: .3s; }
.yqc-logowall .yqc-logo-item:hover { box-shadow: var(--yqc-shadow); transform: translateY(-4px); }
.yqc-logowall img { max-height: 46px; width: auto; }

/* ---------- 双入口 ---------- */
.yqc-dual { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.yqc-dual-card { border-radius: var(--yqc-radius); padding: 46px 38px; color: #fff; position: relative; overflow: hidden; }
.yqc-dual-brand { background: linear-gradient(135deg, #7B2CBF, #5a1f8f); }
.yqc-dual-creator { background: linear-gradient(135deg, #00b85c, #009e7a); }
.yqc-dual-card h3 { font-size: 28px; font-weight: 900; margin-bottom: 12px; }
.yqc-dual-card p { color: rgba(255,255,255,.9); margin-bottom: 24px; }

/* ---------- 前后对比滑块 ---------- */
.yqc-compare { position: relative; max-width: 820px; margin: 0 auto; border-radius: var(--yqc-radius); overflow: hidden; box-shadow: var(--yqc-shadow); user-select: none; }
.yqc-compare img { display: block; width: 100%; pointer-events: none; }
.yqc-compare-after { position: absolute; top: 0; left: 0; height: 100%; width: 50%; overflow: hidden; }
.yqc-compare-after img { height: 100%; width: auto; max-width: none; }
.yqc-compare-handle { position: absolute; top: 0; left: 50%; width: 4px; height: 100%; background: #fff; transform: translateX(-50%); cursor: ew-resize; }
.yqc-compare-handle::after { content: "⟷"; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 44px; height: 44px; background: var(--yqc-grad); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700; box-shadow: var(--yqc-shadow); }
.yqc-compare-badge { position: absolute; top: 14px; padding: 5px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; color: #fff; }
.yqc-compare-badge.b1 { left: 14px; background: rgba(26,26,26,.7); }
.yqc-compare-badge.b2 { right: 14px; background: var(--yqc-green); color: var(--yqc-black); }

/* ---------- 通用卡片网格（案例/业务/专题） ---------- */
.yqc-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.yqc-card { background: #fff; border-radius: var(--yqc-radius); overflow: hidden; border: 1px solid var(--yqc-line); box-shadow: var(--yqc-shadow); transition: transform .3s, box-shadow .3s; display: flex; flex-direction: column; }
.yqc-card:hover { transform: translateY(-8px); box-shadow: var(--yqc-shadow-hover); }
.yqc-card-thumb { aspect-ratio: 16/9; overflow: hidden; }
.yqc-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.yqc-card:hover .yqc-card-thumb img { transform: scale(1.05); }
.yqc-card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.yqc-card-tag { align-self: flex-start; font-size: 12px; font-weight: 700; color: var(--yqc-green); background: rgba(0,210,106,.12); padding: 4px 12px; border-radius: 999px; margin-bottom: 12px; }
.yqc-card-body h3 { font-size: 20px; font-weight: 800; color: var(--yqc-black); margin-bottom: 10px; line-height: 1.4; }
.yqc-card-body p { font-size: 15px; color: var(--yqc-muted); margin-bottom: 16px; flex: 1; }
.yqc-card-more { font-weight: 700; color: var(--yqc-purple); }
.yqc-card-more::after { content: " →"; }

/* ---------- 业务/Masonry 错落网格 ---------- */
.yqc-masonry { columns: 3; column-gap: 24px; }
.yqc-masonry > * { break-inside: avoid; margin-bottom: 24px; }

/* ---------- Hero 内页 ---------- */
.yqc-pagehero { background: var(--yqc-grad-soft); padding: 64px 0 56px; border-bottom: 1px solid var(--yqc-line); }
.yqc-breadcrumb { font-size: 13px; color: var(--yqc-muted); margin-bottom: 16px; }
.yqc-breadcrumb a:hover { color: var(--yqc-purple); }
.yqc-pagehero h1 { font-size: clamp(30px, 6vw, 52px); font-weight: 900; color: var(--yqc-black); letter-spacing: -.5px; margin-bottom: 14px; }
.yqc-pagehero p { font-size: 17px; color: var(--yqc-muted); max-width: 720px; }

/* ---------- 正文排版 ---------- */
.yqc-article { max-width: 820px; margin: 0 auto; }
.yqc-article h2 { font-size: 28px; font-weight: 900; color: var(--yqc-black); margin: 40px 0 16px; }
.yqc-article h3 { font-size: 21px; font-weight: 800; color: var(--yqc-purple); margin: 28px 0 12px; }
.yqc-article p { margin-bottom: 18px; }
.yqc-article ul.yqc-list { margin: 0 0 20px; padding-left: 0; }
.yqc-article ul.yqc-list li { position: relative; padding-left: 28px; margin-bottom: 10px; }
.yqc-article ul.yqc-list li::before { content: "✦"; position: absolute; left: 0; color: var(--yqc-green); font-weight: 700; }
.yqc-article img { border-radius: var(--yqc-radius); margin: 24px 0; }
.yqc-quote { border-left: 4px solid var(--yqc-purple); background: var(--yqc-grad-soft); padding: 18px 24px; border-radius: 0 var(--yqc-radius-sm) var(--yqc-radius-sm) 0; margin: 24px 0; font-style: italic; color: var(--yqc-black); }
.yqc-table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 15px; }
.yqc-table th, .yqc-table td { border: 1px solid var(--yqc-line); padding: 12px 14px; text-align: left; }
.yqc-table th { background: var(--yqc-grad-soft); color: var(--yqc-black); font-weight: 800; }

/* ---------- E-E-A-T 作者卡 ---------- */
.yqc-author { display: flex; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--yqc-line); border-radius: var(--yqc-radius); padding: 20px; margin: 32px 0; box-shadow: var(--yqc-shadow); }
.yqc-author-avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--yqc-grad); flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 900; font-size: 22px; }
.yqc-author-info strong { display: block; color: var(--yqc-black); font-size: 16px; }
.yqc-author-info span { font-size: 13px; color: var(--yqc-muted); }

/* ---------- 分步表单弹窗 ---------- */
.yqc-modal-overlay { position: fixed; inset: 0; background: rgba(26,26,26,.66); z-index: 2000; display: none; align-items: center; justify-content: center; padding: 20px; }
.yqc-modal-overlay.open { display: flex; }
.yqc-modal { background: #fff; border-radius: var(--yqc-radius); max-width: 520px; width: 100%; padding: 34px; position: relative; box-shadow: var(--yqc-shadow-hover); }
.yqc-modal-close { position: absolute; top: 16px; right: 18px; background: none; border: none; font-size: 26px; cursor: pointer; color: var(--yqc-muted); }
.yqc-modal h3 { font-size: 24px; font-weight: 900; color: var(--yqc-black); margin-bottom: 6px; }
.yqc-steps { display: flex; gap: 8px; margin: 18px 0 24px; }
.yqc-step-dot { flex: 1; height: 6px; border-radius: 999px; background: var(--yqc-line); transition: .3s; }
.yqc-step-dot.active { background: var(--yqc-grad); }
.yqc-form-step { display: none; }
.yqc-form-step.active { display: block; }
.yqc-field { margin-bottom: 16px; }
.yqc-field label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; color: var(--yqc-black); }
.yqc-field input, .yqc-field select, .yqc-field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--yqc-line); border-radius: var(--yqc-radius-sm); font-size: 15px; font-family: inherit; }
.yqc-field input:focus, .yqc-field select:focus, .yqc-field textarea:focus { outline: none; border-color: var(--yqc-purple); }
.yqc-modal-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; }

/* ---------- 搜索 ---------- */
.yqc-search-box { display: flex; gap: 12px; max-width: 640px; margin: 0 auto 16px; }
.yqc-search-box input { flex: 1; padding: 16px 20px; border: 2px solid var(--yqc-line); border-radius: 999px; font-size: 16px; font-family: inherit; }
.yqc-search-box input:focus { outline: none; border-color: var(--yqc-purple); }
.yqc-search-results { max-width: 760px; margin: 30px auto 0; }
.yqc-search-item { background: #fff; border: 1px solid var(--yqc-line); border-radius: var(--yqc-radius-sm); padding: 20px; margin-bottom: 14px; transition: .25s; }
.yqc-search-item:hover { box-shadow: var(--yqc-shadow); }
.yqc-search-item a { font-size: 18px; font-weight: 800; color: var(--yqc-purple); }
.yqc-search-item p { font-size: 14px; color: var(--yqc-muted); margin-top: 6px; }
.yqc-search-item .yqc-url { font-size: 12px; color: var(--yqc-green); margin-top: 4px; }

/* ---------- 404 ---------- */
.yqc-404 { min-height: 70vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 60px 20px; }
.yqc-404 .code { font-size: clamp(80px, 18vw, 180px); font-weight: 900; line-height: 1; background: var(--yqc-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- 页脚 ---------- */
.yqc-footer { background: var(--yqc-black); color: rgba(255,255,255,.72); padding: 60px 0 30px; }
.yqc-footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 40px; }
.yqc-footer h4 { color: #fff; font-size: 15px; font-weight: 800; margin-bottom: 16px; }
.yqc-footer-brand .yqc-logo { color: #fff; margin-bottom: 14px; }
.yqc-footer-brand p { font-size: 14px; line-height: 1.8; }
.yqc-footer ul li { margin-bottom: 10px; }
.yqc-footer ul li a { font-size: 14px; transition: color .25s; }
.yqc-footer ul li a:hover { color: var(--yqc-green); }
.yqc-footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px; font-size: 13px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- 滚动出现动画 ---------- */
.yqc-reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.yqc-reveal.in { opacity: 1; transform: none; }

/* ---------- App 下载页 ---------- */
.yqc-app-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.yqc-app-badges { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 22px; }
.yqc-app-phone { text-align: center; }
.yqc-app-phone img { max-width: 300px; margin: 0 auto; border-radius: 30px; box-shadow: var(--yqc-shadow-hover); }

/* ---------- 响应式断点 ---------- */
@media (max-width: 1024px) {
  .yqc-stats { grid-template-columns: repeat(2, 1fr); }
  .yqc-creator-grid { grid-template-columns: repeat(2, 1fr); }
  .yqc-cards { grid-template-columns: repeat(2, 1fr); }
  .yqc-logowall { grid-template-columns: repeat(4, 1fr); }
  .yqc-masonry { columns: 2; }
}
@media (max-width: 768px) {
  .yqc-section { padding: 52px 0; }
  .yqc-menu { position: fixed; top: 70px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: flex-start; gap: 0; padding: 12px 20px; border-bottom: 1px solid var(--yqc-line); transform: translateY(-130%); transition: transform .35s; box-shadow: var(--yqc-shadow); }
  .yqc-menu.open { transform: translateY(0); }
  .yqc-menu a { padding: 12px 0; width: 100%; border-bottom: 1px solid var(--yqc-line); }
  .yqc-burger { display: flex; }
  .yqc-nav-actions .yqc-btn { display: none; }
  .yqc-dual { grid-template-columns: 1fr; }
  .yqc-app-hero { grid-template-columns: 1fr; }
  .yqc-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .yqc-stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .yqc-creator-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .yqc-cards { grid-template-columns: 1fr; }
  .yqc-logowall { grid-template-columns: repeat(3, 1fr); }
  .yqc-masonry { columns: 1; }
  .yqc-footer-grid { grid-template-columns: 1fr; }
  .yqc-hero-inner { padding: 70px 0 80px; }
}
