/* ============================================================
   武汉翔拓文化传媒 · 门户占位站样式
   主题：gold(黑金高端) / light(简约留白) / vibe(年轻潮酷)
   通过 <html data-theme="..."> 切换，变量集中在此文件顶部。
   ============================================================ */

/* ---------- 主题变量 ---------- */
:root,
[data-theme="gold"] {
  --bg: #0e0e12;
  --bg-alt: #16161c;
  --surface: #1b1b22;
  --text: #f2f0ea;
  --text-muted: #9a978f;
  --accent: #c8a45c;
  --accent-2: #e6c987;
  --accent-grad: linear-gradient(135deg, #c8a45c, #e6c987);
  --border: rgba(200, 164, 92, .22);
  --nav-bg: rgba(14, 14, 18, .82);
  --shadow: 0 20px 50px rgba(0, 0, 0, .45);
  --radius: 16px;
  --maxw: 1180px;
  --logo-box-bg: rgba(255, 255, 255, .04);
  --logo-box-border: rgba(200, 164, 92, .22);
}

[data-theme="light"] {
  --bg: #ffffff;
  --bg-alt: #f5f6f8;
  --surface: #ffffff;
  --text: #16181d;
  --text-muted: #6b7280;
  --accent: #2b59ff;
  --accent-2: #5b8def;
  --accent-grad: linear-gradient(135deg, #2b59ff, #5b8def);
  --border: rgba(22, 24, 29, .1);
  --nav-bg: rgba(255, 255, 255, .9);
  --shadow: 0 20px 50px rgba(20, 30, 60, .1);
  --radius: 16px;
  --maxw: 1180px;
  --logo-box-bg: #16181d;
  --logo-box-border: rgba(22, 24, 29, .08);
}

[data-theme="vibe"] {
  --bg: #0b0b13;
  --bg-alt: #12121d;
  --surface: #16162a;
  --text: #f3f0ff;
  --text-muted: #a59ec7;
  --accent: #ff4d8d;
  --accent-2: #8b5cff;
  --accent-grad: linear-gradient(135deg, #ff4d8d, #8b5cff);
  --border: rgba(255, 77, 141, .28);
  --nav-bg: rgba(11, 11, 19, .85);
  --shadow: 0 20px 50px rgba(139, 92, 255, .25);
  --radius: 16px;
  --maxw: 1180px;
  --logo-box-bg: rgba(255, 255, 255, .05);
  --logo-box-border: rgba(255, 77, 141, .25);
}

/* ---------- 基础 ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  transition: background .4s ease, color .4s ease;
}
a { color: inherit; text-decoration: none; }
.muted { color: var(--text-muted); }
.small { font-size: 13px; }

/* ---------- 视觉方向选择器（评审用） ---------- */
.theme-picker {
  position: fixed; right: 16px; bottom: 16px; z-index: 200;
  display: flex; align-items: center; gap: 6px;
  background: var(--surface); border: 1px solid var(--border);
  padding: 8px 10px; border-radius: 999px; box-shadow: var(--shadow);
  font-size: 13px;
}
.tp-label { color: var(--text-muted); margin-right: 2px; }
.tp-btn {
  border: 1px solid var(--border); background: transparent; color: var(--text);
  padding: 4px 10px; border-radius: 999px; cursor: pointer; font-size: 12px;
  transition: .2s;
}
.tp-btn.is-active { background: var(--accent-grad); color: #0b0b13; border-color: transparent; font-weight: 600; }

/* ---------- 导航 ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--nav-bg); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 12px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.brand__logo-box {
  display: inline-flex; align-items: center; justify-content: center;
  height: 64px; padding: 5px 10px; border-radius: 14px;
  background: var(--logo-box-bg); border: 1px solid var(--logo-box-border);
  transition: background .4s ease, border-color .4s ease;
}
.brand__logo { height: 100%; width: auto; object-fit: contain; display: block; }
.brand__name { font-size: 16px; font-weight: 700; letter-spacing: .5px; color: var(--text); line-height: 1.2; }
.nav__links { display: flex; align-items: center; gap: 26px; font-size: 15px; }
.nav__links a { color: var(--text-muted); transition: color .2s; }
.nav__links a:hover { color: var(--text); }
.nav__cta {
  color: #0b0b13 !important; background: var(--accent-grad);
  padding: 8px 18px; border-radius: 999px; font-weight: 600;
}
.nav__toggle { display: none; background: none; border: 0; color: var(--text); font-size: 24px; cursor: pointer; }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 60% at 75% 20%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%),
    radial-gradient(50% 50% at 10% 90%, color-mix(in srgb, var(--accent-2) 16%, transparent), transparent 70%);
}
.hero__inner { position: relative; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; width: 100%; }
.hero__eyebrow { letter-spacing: 4px; font-size: 13px; color: var(--accent); margin-bottom: 18px; }
.hero__title { font-size: clamp(34px, 6vw, 64px); line-height: 1.15; font-weight: 800; letter-spacing: 1px; }
.hero__sub { margin-top: 22px; font-size: clamp(16px, 2vw, 20px); color: var(--text-muted); }
.hero__actions { margin-top: 36px; display: flex; gap: 16px; flex-wrap: wrap; }
.hero__scroll {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  color: var(--text-muted); font-size: 13px; letter-spacing: 2px;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-block; padding: 13px 28px; border-radius: 999px;
  font-weight: 600; font-size: 15px; cursor: pointer; transition: transform .2s, box-shadow .2s;
}
.btn--primary { background: var(--accent-grad); color: #0b0b13; }
.btn--ghost { border: 1px solid var(--border); color: var(--text); }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

/* ---------- 通用 section ---------- */
.section { max-width: var(--maxw); margin: 0 auto; padding: 96px 24px; }
.section--alt { max-width: none; background: var(--bg-alt); }
.section--alt > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.section__head { margin-bottom: 44px; }
.kicker { display: inline-block; letter-spacing: 3px; font-size: 12px; color: var(--accent); margin-bottom: 10px; }
.section h2 { font-size: clamp(26px, 4vw, 40px); font-weight: 800; }

/* ---------- 关于 ---------- */
.about { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: center; }
.about__text p { color: var(--text-muted); margin-bottom: 16px; }
.about__values { list-style: none; margin-top: 22px; display: grid; gap: 12px; }
.about__values li { padding-left: 16px; border-left: 3px solid var(--accent); }
.about__values strong { color: var(--text); }
.about__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; text-align: center; }
.stat__num { font-size: 38px; font-weight: 800; background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__unit { font-size: 22px; color: var(--accent); font-weight: 700; }
.stat p { color: var(--text-muted); font-size: 14px; margin-top: 4px; }

/* ---------- 业务卡片 ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; transition: transform .25s, border-color .25s; }
.card:hover { transform: translateY(-6px); border-color: var(--accent); }
.card h3 { margin: 16px 0 8px; font-size: 19px; }
.card p { color: var(--text-muted); font-size: 14px; }
.card__ph, .case__ph, .map__ph {
  width: 100%; aspect-ratio: 16 / 10; border-radius: 12px;
  background:
    repeating-linear-gradient(45deg, color-mix(in srgb, var(--accent) 12%, transparent) 0 12px, transparent 12px 24px),
    var(--surface);
  display: grid; place-items: center; color: var(--text-muted); font-size: 13px;
  border: 1px dashed var(--border);
}

/* ---------- 案例 ---------- */
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.chip { border: 1px solid var(--border); background: transparent; color: var(--text-muted); padding: 7px 18px; border-radius: 999px; cursor: pointer; font-size: 14px; transition: .2s; }
.chip.is-active { background: var(--accent-grad); color: #0b0b13; border-color: transparent; font-weight: 600; }
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.case { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform .25s, border-color .25s; }
.case:hover { transform: translateY(-6px); border-color: var(--accent); }
.case__ph { border-radius: 0; border: 0; aspect-ratio: 16 / 10; }
.case figcaption { padding: 16px 18px 20px; }
.case__tag { display: inline-block; font-size: 12px; color: var(--accent); border: 1px solid var(--border); padding: 2px 10px; border-radius: 999px; margin-bottom: 10px; }
.case h4 { font-size: 17px; margin-bottom: 6px; }
.case p { color: var(--text-muted); font-size: 13px; }
.case.is-hidden { display: none; }

/* ---------- 新闻 ---------- */
.news { list-style: none; display: grid; gap: 4px; }
.news__item { display: flex; gap: 18px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--border); }
.news__date { color: var(--accent); font-size: 14px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.news__item a { font-size: 16px; transition: color .2s; }
.news__item a:hover { color: var(--accent); }

/* ---------- 加入我们 ---------- */
.join { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 48px; text-align: center; }
.join p { color: var(--text-muted); margin-bottom: 14px; }
.join .btn { margin-top: 12px; }

/* ---------- 联系 ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.contact__info p { margin-bottom: 16px; display: flex; gap: 12px; }
.contact__info a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--border); }
.contact__info a:hover { color: var(--accent); border-bottom-color: var(--accent); }
.ci-label { min-width: 52px; color: var(--accent); font-weight: 600; }
.map__ph { aspect-ratio: 16 / 11; }

/* ---------- 页脚 ---------- */
.footer { border-top: 1px solid var(--border); padding: 28px 24px; }
.footer__inner { max-width: var(--maxw); margin: 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; font-size: 13px; text-align: center; }
.footer__filing { text-decoration: none; }
.footer__filing:hover { color: var(--accent); text-decoration: underline; }

/* ---------- 滚动揭示动画 ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 主理人 / 指标 ---------- */
.brand__ip { font-size: 12px; color: var(--text-muted); margin-left: 6px; padding-left: 10px; border-left: 1px solid var(--border); }
.metrics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.metric { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; text-align: center; }
.metric__num { font-size: 32px; font-weight: 800; background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.metric__label { color: var(--text-muted); font-size: 13px; margin-top: 6px; }

/* ---------- 区块标签 / 双栏展示 ---------- */
.tag-badge { display: inline-block; font-size: 12px; color: var(--accent); border: 1px solid var(--border); padding: 4px 14px; border-radius: 999px; margin-top: 14px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.feature-list { list-style: none; margin-top: 18px; display: grid; gap: 12px; }
.feature-list li { padding-left: 26px; position: relative; color: var(--text-muted); }
.feature-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.split__visual .card__ph { aspect-ratio: 16 / 10; }
.shot-frame { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; }
.tool-thumb { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 10px; display: block; }
.shot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.shot { width: 100%; aspect-ratio: 9 / 19; object-fit: cover; border-radius: 12px; border: 1px solid var(--border); }

/* ---------- 方法论四层 ---------- */
.layers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.layer { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.layer__no { font-size: 13px; color: var(--accent); font-weight: 700; }
.layer h4 { margin: 8px 0 8px; font-size: 17px; }
.layer p { color: var(--text-muted); font-size: 13px; }

/* ---------- pills / note ---------- */
.pills { display: flex; flex-wrap: wrap; gap: 12px; }
.pill { border: 1px solid var(--border); background: var(--surface); color: var(--text); padding: 9px 18px; border-radius: 999px; font-size: 14px; }
.note-box { margin-top: 22px; border-left: 3px solid var(--accent); padding: 14px 18px; background: var(--surface); border-radius: 0 12px 12px 0; color: var(--text-muted); font-size: 14px; }

/* ---------- 观点卡 ---------- */
.views { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.view { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.view h4 { font-size: 17px; margin-bottom: 8px; }
.view p { color: var(--text-muted); font-size: 14px; }

/* ---------- 联系 / 微信 ---------- */
.contact2 { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: center; }
.qr { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; text-align: center; }
.qr__box { width: 200px; height: 200px; margin: 0 auto 12px; border: 1px dashed var(--border); border-radius: 12px; display: grid; place-items: center; color: var(--text-muted); font-size: 13px; text-align: center; }
.qr__box--image { padding: 10px; overflow: hidden; background: #fff; border-style: solid; }
.qr__box--image img { display: block; width: 100%; max-width: 100%; height: 100%; max-height: 100%; object-fit: contain; }
.compliance { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.compliance .pill { font-size: 13px; padding: 7px 14px; }

/* ---------- 响应式（新增区块） ---------- */
@media (max-width: 980px) {
  .layers, .views { grid-template-columns: repeat(2, 1fr); }
  .split, .contact2 { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .layers, .views, .metrics { grid-template-columns: 1fr; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .cases { grid-template-columns: repeat(2, 1fr); }
  .about, .contact { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 680px) {
  .nav__links {
    position: fixed; top: 62px; right: 0; left: 0; flex-direction: column; gap: 0;
    background: var(--nav-bg); backdrop-filter: blur(12px); padding: 12px 24px 20px;
    border-bottom: 1px solid var(--border); transform: translateY(-120%); transition: transform .3s ease;
  }
  .nav__links.open { transform: translateY(0); }
  .nav__links a { padding: 12px 0; width: 100%; border-bottom: 1px solid var(--border); }
  .nav__cta { text-align: center; margin-top: 8px; }
  .nav__toggle { display: block; }
  .brand__logo-box { height: 50px; padding: 4px 8px; }
  .brand__name { font-size: 14px; }
  .brand__ip { display: none; }
  .cards, .cases { grid-template-columns: 1fr; }
  .about__stats { grid-template-columns: 1fr 1fr; }
  .section { padding: 64px 20px; }
  .join { padding: 32px 20px; }
}
