:root {
  --bg: #0b0e11;
  --panel: #14181d;
  --panel-2: #1b2026;
  --line: #262c34;
  --text: #eaecef;
  --muted: #8a94a3;
  --accent: #00e5ff;
  --accent-2: #00bfa6;
  --radius: 10px;
  --wrap: 1280px;
  --gutter: 24px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.7 -apple-system, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(11, 14, 17, .86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; gap: 24px; height: 60px; }
.brand { font-weight: 700; font-size: 18px; letter-spacing: .02em; white-space: nowrap; }
.brand i { font-style: normal; color: var(--accent); }
.nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; flex: 1; }
.nav::-webkit-scrollbar { display: none; }
.nav a { padding: 6px 14px; border-radius: 999px; color: var(--muted); font-size: 14px; white-space: nowrap; transition: .15s; }
.nav a:hover { color: var(--text); background: var(--panel-2); }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: #031317; font-weight: 700;
  padding: 10px 22px; border-radius: 999px; border: 0; cursor: pointer; font-size: 15px;
  transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(0, 229, 255, .28); }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); font-weight: 600; }
.btn.ghost:hover { border-color: var(--accent); box-shadow: none; }
.top .btn { padding: 8px 18px; font-size: 14px; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 96px 0 72px;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(0, 229, 255, .16), transparent 60%),
    radial-gradient(700px 360px at 0% 110%, rgba(0, 191, 166, .12), transparent 60%);
}
.hero .eyebrow { color: var(--accent); font-size: 14px; letter-spacing: .12em; margin: 0 0 18px; }
.hero h1 { margin: 0 0 18px; font-size: clamp(34px, 5.4vw, 64px); line-height: 1.12; letter-spacing: -.01em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .pitch { max-width: 760px; font-size: clamp(18px, 2vw, 22px); color: #cfd5de; margin: 0 0 14px; }
.hero .intro { max-width: 760px; color: var(--muted); margin: 0 0 32px; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- sections ---------- */
section { padding: 56px 0 8px; }
.sec-head { display: flex; align-items: baseline; gap: 14px; margin: 0 0 22px; }
.sec-head h2 { margin: 0; font-size: 26px; display: flex; align-items: center; gap: 12px; }
.sec-head h2::before { content: ""; width: 4px; height: 24px; background: var(--accent); border-radius: 2px; }
.sec-head .count { color: var(--muted); font-size: 14px; }
.sec-title { font-size: 14px; color: var(--accent); letter-spacing: .12em; margin: 0 0 6px; }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.card:hover { border-color: rgba(0, 229, 255, .55); transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.thumb { position: relative; aspect-ratio: 16 / 9; background: #000; cursor: pointer; border: 0; padding: 0; width: 100%; display: block; }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .92; transition: opacity .2s, transform .35s; }
.card:hover .thumb img { opacity: 1; transform: scale(1.03); }
.thumb .play {
  position: absolute; inset: 0; margin: auto; width: 54px; height: 54px; border-radius: 50%;
  background: rgba(255, 255, 255, .3); display: grid; place-items: center;
  transition: transform .2s, background .2s;
}
.thumb:hover .play { transform: scale(1.1); background: rgba(255, 255, 255, .4); }
.thumb .play::after { content: ""; border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent rgba(255, 255, 255, .5); margin-left: 3px; }
/* 竖屏视频：卡片仍是 16:9，竖图居中完整显示，背景用同一张图模糊铺满 */
.thumb.portrait { overflow: hidden; }
.thumb.portrait::before {
  content: ""; position: absolute; inset: -24px; background: var(--bg) center / cover no-repeat;
  filter: blur(22px) brightness(.55); transform: scale(1.1);
}
.thumb.portrait img { position: relative; object-fit: contain; background: transparent; opacity: 1; }
.card:hover .thumb.portrait img { transform: none; }
.thumb video { position: absolute; inset: 0; width: 100%; height: 100%; background: #000; object-fit: contain; }
.thumb iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.card .meta { padding: 14px 16px 18px; }
.card .meta h3 { margin: 0; font-size: 15px; line-height: 1.55; font-weight: 600; }
.card .tags { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.tag { font-size: 12px; color: var(--accent); background: rgba(0, 229, 255, .1); padding: 2px 10px; border-radius: 999px; }
.card .yt { display: inline-block; margin-top: 12px; font-size: 13px; color: var(--muted); transition: color .15s; }
.card .yt:hover { color: var(--accent); }
.soon {
  grid-column: 1 / -1; padding: 34px; text-align: center; color: var(--muted);
  border: 1px dashed var(--line); border-radius: var(--radius); background: rgba(255, 255, 255, .01);
}

/* ---------- lightbox 大播放器 ---------- */
html.lb-open { overflow: hidden; }
.lb {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center; padding: 28px var(--gutter);
  background: rgba(4, 6, 8, .78);
  -webkit-backdrop-filter: blur(18px) saturate(.8); backdrop-filter: blur(18px) saturate(.8);
  opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility 0s linear .25s;
}
.lb.on { opacity: 1; visibility: visible; transition: opacity .25s ease; }
.lb-stage {
  position: relative; width: min(1180px, 100%);
  transform: translateY(14px) scale(.96); transition: transform .3s cubic-bezier(.2, .8, .2, 1);
}
.lb.on .lb-stage { transform: none; }
.lb-player {
  position: relative; width: 100%; aspect-ratio: 16 / 9; max-height: calc(100vh - 150px);
  margin: 0 auto; background: #000; border-radius: 12px; overflow: hidden;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .7), 0 0 0 1px rgba(0, 229, 255, .25);
}
.lb.portrait .lb-stage { width: min(460px, 100%); }
.lb.portrait .lb-player { aspect-ratio: 9 / 16; }
.lb-player video, .lb-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; object-fit: contain; }
.lb-title { margin: 14px 4px 0; text-align: center; color: #cfd5de; font-size: 15px; line-height: 1.5; }
.lb-close {
  position: absolute; top: -46px; right: 0; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255, 255, 255, .1); color: var(--text); border: 1px solid rgba(255, 255, 255, .2);
  font-size: 16px; cursor: pointer; transition: background .15s, color .15s;
}
.lb-close:hover, .lb-close:focus-visible { background: var(--accent); color: #031317; outline: 0; }
@media (max-width: 820px) { .lb { padding: 56px 12px 20px; } .lb-close { top: -46px; } }

/* ---------- services / process / contact ---------- */
.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.box { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.box h3 { margin: 0 0 8px; font-size: 18px; color: var(--accent); }
.box p { margin: 0; color: #c3cad4; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; }
.step::before { counter-increment: s; content: "0" counter(s); display: block; font-size: 30px; font-weight: 800; color: var(--accent); margin-bottom: 8px; letter-spacing: .02em; }
.step p { margin: 0; color: #c3cad4; }
.contact {
  margin: 64px 0 0; padding: 56px 0; text-align: center;
  background: radial-gradient(700px 300px at 50% 0%, rgba(0, 229, 255, .13), transparent 70%);
  border-top: 1px solid var(--line);
}
.contact h2 { margin: 0 0 10px; font-size: 32px; }
.contact p { margin: 0 0 26px; color: var(--muted); }
footer { padding: 26px 0 40px; text-align: center; color: #5d6673; font-size: 13px; border-top: 1px solid var(--line); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) { .grid { grid-template-columns: repeat(3, 1fr); } .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 820px) {
  .grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .cols3 { grid-template-columns: 1fr; }
  .hero { padding: 64px 0 48px; }
  .top .wrap { gap: 12px; }
  .top .btn { padding: 6px 12px; font-size: 13px; white-space: nowrap; }
}
@media (max-width: 520px) {
  :root { --gutter: 16px; }
  .grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
