/* ============================================================
   最骚 ZUISAO · v3 - banner 以下区块重设计
   风格：高级灰 / 简约白 · 圆角卡片 · Bento 错落网格
   兼容原站明暗双主题（直接复用原站 CSS 变量）
   ============================================================ */

/* RGB 变量：供渐变过渡到纯色使用 */
html.theme-light { --bg-rgb: 250, 247, 241; }
html.theme-dark { --bg-rgb: 18, 16, 11; }

/* ---------- 区块通用：从「最骚是谁」起快速渐变过渡到纯色背景 ---------- */
.mod-about {
  position: relative; z-index: 2;
  /* 顶部 180px 内从透明快速过渡到纯色，盖住粒子背景 */
  background: linear-gradient(180deg, rgba(var(--bg-rgb), 0) 0, rgba(var(--bg-rgb), 1) 180px);
}
.mod-products, .mod-culture, .mod-cta { position: relative; z-index: 2; background: var(--bg); }
.section { padding: 90px 0; }
.mod-head { text-align: center; margin-bottom: 50px; }
.mod-index { font-size: 12px; color: var(--muted); display: inline-block; margin-bottom: 12px; letter-spacing: .2em; }
.mod-title { font-size: clamp(26px, 3.6vw, 38px); font-weight: 800; letter-spacing: .02em; color: var(--ink); }
.mod-title em { font-style: normal; color: var(--ink); border-bottom: 3px solid var(--muted); }
.mod-lede { margin-top: 14px; color: var(--muted); font-size: 15.5px; max-width: 720px; margin-inline: auto; }
.mod-lede strong { color: var(--ink); }
.mod-link { color: var(--ink); font-weight: 700; white-space: nowrap; border-bottom: 1px solid var(--line-strong); transition: border-color .25s ease; }
.mod-link:hover { border-color: var(--ink); }

/* ---------- 企网服务标签 ---------- */
.mod-tags { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 820px; margin-inline: auto; }
.mod-tags li {
  font-size: 13px; color: var(--muted);
  background: var(--panel); border: 1px solid var(--line);
  padding: 7px 18px; border-radius: 99px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: color .25s ease, border-color .25s ease, transform .25s ease;
}
.mod-tags li:hover { color: var(--ink); border-color: var(--line-strong); transform: translateY(-2px); }

/* ---------- 产品卡片：Bento 错落网格（AI 站 C 位 2×2） ---------- */
.mod-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-flow: dense;
  gap: 20px;
}
.mc-ai   { grid-column: span 2; }                    /* 最骚AI：宽卡（内部横排，压低高度） */
.mc-wide { grid-column: span 2; }                     /* 横向双格 */

.mod-card {
  position: relative; display: flex; flex-direction: column; gap: 10px;
  padding: 28px 26px 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  overflow: hidden;
}
/* AI 宽卡：左右内分栏（左名称钩子 / 右特性清单），高度砍半 */
.mc-ai {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 8px 34px;
  align-items: center;
  padding: 26px 28px;
}
.mc-ai-main { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.mc-ai .mc-hook { font-size: 14px; }
.mc-ai .mc-ico { width: 50px; height: 50px; }
.mc-ai .mc-name { font-size: 23px; }
.mod-card:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  box-shadow: 0 20px 44px -22px rgba(0, 0, 0, .28);
}
.mc-hot { border-color: var(--line-strong); box-shadow: 0 8px 28px -18px rgba(0, 0, 0, .22); }
.mc-badge {
  position: absolute; top: 16px; right: 18px;
  font-size: 10px; font-weight: 700; letter-spacing: .14em;
  color: var(--bg); background: var(--ink);
  padding: 4px 10px; border-radius: 6px;
}
.mc-ico {
  width: 46px; height: 46px; display: flex; align-items: center; justify-content: center;
  color: var(--ink); background: var(--bg-soft);
  border: 1px solid var(--line); border-radius: 12px;
  transition: background .3s ease, color .3s ease;
}
.mod-card:hover .mc-ico { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.mc-name { font-size: 19px; font-weight: 800; letter-spacing: .03em; color: var(--ink); }
.mc-hook { font-size: 14px; color: var(--muted); line-height: 1.8; flex: 1; }
.mc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mc-chips li {
  font-size: 12px; color: var(--muted);
  border: 1px solid var(--line); background: transparent;
  padding: 3px 11px; border-radius: 99px;
  transition: color .25s ease, border-color .25s ease;
}
.mod-card:hover .mc-chips li { color: var(--ink); border-color: var(--line-strong); }
.mc-go { font-size: 13px; color: var(--ink); font-weight: 700; letter-spacing: .06em; }
.mc-go i { font-style: normal; display: inline-block; transition: transform .3s ease; }
.mod-card:hover .mc-go i { transform: translateX(5px); }

/* ---------- 骚文化 ---------- */
.mod-culture { text-align: center; }
.mod-culture .mod-index { margin-bottom: 28px; }
.mc-line { font-size: clamp(20px, 3vw, 30px); font-weight: 800; line-height: 2; letter-spacing: .03em; color: var(--ink); }
.mc-line em { font-style: normal; border-bottom: 3px solid var(--muted); }
.mc-note { margin-top: 24px; font-size: 11px; color: var(--muted); }

/* ---------- CTA ---------- */
.mod-cta { text-align: center; padding: 110px 0; }
.mc-kicker { font-size: 12px; color: var(--muted); letter-spacing: .3em; }
.mc-title { font-size: clamp(34px, 5.5vw, 54px); font-weight: 900; margin-top: 12px; letter-spacing: .06em; color: var(--ink); }
.mc-actions { margin-top: 34px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- 按钮：旋转流光渐变胶囊（gradient-button） ---------- */
.gradient-button {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 32px;
  font-size: 18px; font-weight: bold;
  font-family: inherit;
  color: white;
  background: transparent;
  border: none;
  cursor: pointer;
  border-radius: 50px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.2s ease;
}
.gradient-button:hover { transform: scale(1.03); }
.gradient-button::before {
  content: "";
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: conic-gradient(from 0deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57, #ff9ff3, #ff6b6b);
  z-index: -2;
  filter: blur(10px);
  transform: rotate(0deg);
  transition: transform 1.5s ease-in-out;
}
.gradient-button:hover::before { transform: rotate(180deg); }
.gradient-button::after {
  content: "";
  position: absolute;
  inset: 3px;
  background: black;
  border-radius: 47px;
  z-index: -1;
  filter: blur(5px);
}
.gradient-text {
  color: transparent;
  background: conic-gradient(from 0deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57, #ff9ff3, #ff6b6b);
  background-clip: text;
  -webkit-background-clip: text;
  filter: hue-rotate(0deg);
}
.gradient-button:hover .gradient-text { animation: hue-rotating 2s linear infinite; }
.gradient-button:active { transform: scale(0.99); }
@keyframes hue-rotating {
  to { filter: hue-rotate(360deg); }
}

/* ---------- 页脚 ---------- */
.mod-footer { position: relative; z-index: 2; border-top: 1px solid var(--line); padding: 50px 0 38px; background: var(--bg-soft); }
.mf-friends { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; }
.mf-friends > span { font-size: 11px; color: var(--muted); }
.mf-friends ul { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.mf-friends a { font-size: 13.5px; color: var(--muted); transition: color .25s ease; }
.mf-friends a:hover { color: var(--ink); }
.mf-beian { margin-top: 20px; font-size: 12.5px; color: var(--muted); display: flex; gap: 10px; flex-wrap: wrap; }
.mf-beian a:hover { color: var(--ink); }
.mf-bottom {
  margin-top: 24px; padding-top: 20px; border-top: 1px dashed var(--line);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 12.5px; color: var(--muted);
}
.mf-slogan { font-weight: 800; color: var(--ink); letter-spacing: .12em; }
.mf-bottom a:hover { color: var(--ink); }

/* ---------- 进场动画（配合页面底部兜底脚本） ---------- */
.mod-about .reveal, .mod-products .reveal, .mod-culture .reveal, .mod-cta .reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity .65s ease, transform .65s ease;
}
.mod-about .reveal.mod-in, .mod-products .reveal.mod-in, .mod-culture .reveal.mod-in, .mod-cta .reveal.mod-in {
  opacity: 1; transform: none;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
  .mod-grid { grid-template-columns: repeat(2, 1fr); }
  .mc-ai { grid-column: span 2; }
  .mc-wide { grid-column: span 2; }
  .mc-banner { grid-column: span 2; }
}
@media (max-width: 860px) {
  .section { padding: 66px 0; }
  .mod-grid { grid-template-columns: 1fr; }
  .mc-ai, .mc-wide, .mc-banner { grid-column: auto; }
  .mc-ai { grid-template-columns: 1fr; gap: 16px; }
  .mc-banner { flex-direction: column; align-items: flex-start; }
  .mc-banner .mc-go { margin-left: 0; }
  .mf-bottom { flex-direction: column; align-items: center; text-align: center; }
  .mc-actions { flex-direction: column; align-items: center; }
  .gradient-button { padding: 12px 24px; font-size: 14.5px; }
  .hero-actions { gap: 10px; }
  .hero-actions .gradient-button { flex: 1; min-width: 150px; justify-content: center; }
}

/* ============================================================
   v3.3：hero 瘦身（删药丸/双按钮）+ AI 宽卡 + 商城通栏横幅
   ============================================================ */

/* hero：右侧药丸已删，口号区收紧 */
.hero-bottom { justify-content: flex-start; align-items: flex-end; }
.hero-slogan { max-width: 660px; }
.hero-actions { margin-top: 4px; }
@media (min-width: 861px) {
  .hero-actions .gradient-button { min-width: 186px; }  /* 两个按钮强制等宽 */
}

/* 服务标签：整块可点击链接 */
.mod-tags li { cursor: pointer; }
.mod-tags li a { display: block; color: inherit; text-decoration: none; }
.mod-tags li:hover { color: var(--ink); border-color: var(--ink); transform: translateY(-2px); }
.about-more { pointer-events: auto; }

/* 商城：通栏横幅卡（横向一行收尾，不再孤块） */
.mc-deco { width: 118px; height: 118px; right: -26px; top: -26px; }
.mc-banner {
  grid-column: span 4;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  padding: 20px 28px;
}
.mc-banner .mc-ico { width: 42px; height: 42px; flex: none; }
.mc-banner .mc-name { font-size: 18px; white-space: nowrap; }
.mc-banner .mc-hook { flex: 1; margin: 0; min-width: 220px; }
.mc-banner .mc-chips { flex-wrap: nowrap; }
.mc-banner .mc-go { margin-left: auto; white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  .mod-about .reveal, .mod-products .reveal, .mod-culture .reveal, .mod-cta .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   v3.2 精修：关于分栏 / AI 卡内容 / 骚文化动效 / 流光按钮配色
   ============================================================ */

/* ---------- 「最骚是谁」左右分栏 ---------- */
.about-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.about-left { text-align: left; }
.about-left .mod-index { margin-bottom: 12px; }
.about-left .mod-lede { margin-inline: 0; }
.about-more {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 20px;
  font-weight: 700; color: var(--ink);
  border-bottom: 2px solid var(--ink); padding-bottom: 3px;
  transition: gap .25s ease, opacity .25s ease;
}
.about-more:hover { gap: 14px; opacity: .78; }
.about-right { display: flex; justify-content: center; }
.mod-tags { max-width: 480px; margin-inline: 0; justify-content: flex-start; gap: 12px; }
.mod-tags li { font-size: 13.5px; padding: 9px 20px; }
@media (max-width: 960px) {
  .about-split { grid-template-columns: 1fr; gap: 30px; }
  .about-left { text-align: center; }
  .about-left .mod-lede { margin-inline: auto; }
  .mod-tags { justify-content: center; margin-inline: auto; }
}

/* ---------- AI 大卡：特性清单 + 旋转虚线环点缀 ---------- */
.mc-feats { display: flex; flex-direction: column; gap: 10px; margin-top: 2px; }
.mc-feats li { display: flex; gap: 10px; align-items: flex-start; }
.mc-feats b {
  flex: none; font-size: 13.5px; color: var(--ink);
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: 8px; padding: 2px 10px;
}
.mc-feats span { font-size: 13.5px; color: var(--muted); line-height: 1.7; }
.mc-deco { position: absolute; right: -34px; top: -34px; width: 160px; height: 160px; opacity: .55; pointer-events: none; }
.mc-deco .ring { transform-origin: center; animation: mcspin 14s linear infinite; }
.mc-deco .dash { stroke-dasharray: 6 10; animation: mcdash 3s linear infinite; }
@keyframes mcspin { to { transform: rotate(360deg); } }
@keyframes mcdash { to { stroke-dashoffset: -64; } }
.mc-badge { letter-spacing: .08em; padding: 4px 12px; }

/* ---------- 流光按钮配色变体（与站点氛围和谐） ---------- */
.gb-gold::before { background: conic-gradient(from 0deg, #f7b733, #fc4a1a, #f9d423, #e8650d, #f7b733); }
.gb-gold .gradient-text { background: conic-gradient(from 0deg, #f7b733, #fc4a1a, #f9d423, #e8650d, #f7b733); background-clip: text; -webkit-background-clip: text; }
.gb-cool::before { background: conic-gradient(from 0deg, #43e97b, #38f9d7, #4facfe, #00f2fe, #43e97b); }
.gb-cool .gradient-text { background: conic-gradient(from 0deg, #43e97b, #38f9d7, #4facfe, #00f2fe, #43e97b); background-clip: text; -webkit-background-clip: text; }

/* ---------- 骚文化：打字机 + 滚动聚光 ---------- */
.mc-type { min-height: 1.9em; font-size: clamp(16px, 2vw, 20px); color: var(--muted); letter-spacing: .08em; }
.t-caret { display: inline-block; width: 2px; height: 1.1em; background: var(--accent1); margin-left: 3px; vertical-align: -.15em; animation: tblink 1s steps(1) infinite; }
@keyframes tblink { 50% { opacity: 0; } }
.mc-line { margin-top: 18px; font-size: clamp(30px, 5vw, 54px); font-weight: 900; line-height: 1.55; letter-spacing: .04em; }
.kchar { color: var(--line-strong); transition: color .25s ease; }
.kchar.on { color: var(--ink); }
.kchar.k-sao { font-size: 1.18em; }
.kchar.k-sao.on { color: var(--accent1); text-shadow: 0 0 22px; }

@media (prefers-reduced-motion: reduce) {
  .mc-deco .ring, .mc-deco .dash, .t-caret { animation: none !important; }
}
