/* ===================== 基础 ===================== */
:root {
  --bg: #0a0e15;
  --bg-2: #0e141e;
  --card: #121a26;
  --card-2: #16202e;
  --line: rgba(255, 255, 255, .08);
  --text: #e8eef7;
  --muted: #93a1b5;
  --accent: #35d0c0;
  --accent-2: #6c8cff;
  --radius: 16px;
  --maxw: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.25; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.grad {
  background: linear-gradient(100deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ===================== 按钮 ===================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 11px 20px; border-radius: 999px;
  font-size: 15px; font-weight: 600; cursor: pointer;
  border: 1px solid transparent; transition: .18s ease;
  white-space: nowrap; font-family: inherit;
}
.btn-primary {
  background: linear-gradient(100deg, var(--accent), var(--accent-2));
  color: #06121a;
  box-shadow: 0 8px 24px -10px rgba(53, 208, 192, .6);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -8px rgba(53, 208, 192, .7); }
.btn-ghost { border-color: var(--line); color: var(--text); background: rgba(255, 255, 255, .03); }
.btn-ghost:hover { border-color: rgba(53, 208, 192, .5); background: rgba(53, 208, 192, .08); }
.btn-sm { padding: 7px 14px; font-size: 13px; }

/* ===================== 导航 ===================== */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(10, 14, 21, .72);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 16px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-weight: 700; font-size: 16px; letter-spacing: .04em; }
.brand-tag { font-size: 11.5px; font-weight: 500; color: #9fb0c4; letter-spacing: .02em; margin-top: 2px; }
.brand-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 0 4px rgba(53, 208, 192, .12);
}
.nav-links { display: flex; gap: 26px; font-size: 14.5px; color: var(--muted); }
.nav-links a:hover { color: var(--text); }
.nav-cta { padding: 8px 16px; font-size: 14px; }

/* ===================== HERO ===================== */
.hero { position: relative; overflow: hidden; padding: 92px 0 78px; }
.hero-glow {
  position: absolute; inset: -40% 30% 40% -10%;
  background: radial-gradient(closest-side, rgba(53, 208, 192, .16), transparent 70%),
              radial-gradient(closest-side at 70% 60%, rgba(108, 140, 255, .14), transparent 70%);
  pointer-events: none; filter: blur(10px);
}
.hero-inner { position: relative; max-width: 860px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; letter-spacing: .06em; color: var(--accent);
  text-transform: uppercase; margin-bottom: 20px;
}
.pulse {
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 0 rgba(53, 208, 192, .6); animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(53, 208, 192, .55); }
  70% { box-shadow: 0 0 0 10px rgba(53, 208, 192, 0); }
  100% { box-shadow: 0 0 0 0 rgba(53, 208, 192, 0); }
}
.hero h1 { font-size: clamp(34px, 5.2vw, 58px); font-weight: 800; margin-bottom: 22px; }
.lead { color: var(--muted); font-size: clamp(15px, 1.6vw, 17.5px); max-width: 640px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 52px; }
.hero-stats {
  display: flex; gap: 40px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0;
}
.hero-stats li { display: flex; flex-direction: column; gap: 2px; }
.hero-stats strong { font-size: 20px; }
.hero-stats span { font-size: 13px; color: var(--muted); }

/* ===================== 通用 section ===================== */
.section { padding: 82px 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { margin-bottom: 42px; max-width: 700px; }
.sec-head h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 750; margin-bottom: 12px; }
.sec-head .sub { color: var(--muted); font-size: 15.5px; }

/* ===================== 服务卡片 ===================== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: linear-gradient(180deg, var(--card), var(--card-2));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; transition: .2s ease;
}
.card:hover { border-color: rgba(53, 208, 192, .38); transform: translateY(-3px); }
.ico { font-size: 24px; margin-bottom: 14px; }
.card h3 { font-size: 17px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 14.5px; }

/* ===================== 分类筛选 ===================== */
.filters { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 26px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 15px; border-radius: 999px; cursor: pointer;
  font-size: 13.5px; font-weight: 600; font-family: inherit;
  color: var(--muted); background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line); transition: .16s ease;
}
.chip:hover { color: var(--text); border-color: rgba(53, 208, 192, .4); }
.chip.on {
  color: #06121a; border-color: transparent;
  background: linear-gradient(100deg, var(--accent), var(--accent-2));
}
.chip-n {
  font-size: 11.5px; padding: 1px 7px; border-radius: 999px;
  background: rgba(255, 255, 255, .09);
}
.chip.on .chip-n { background: rgba(6, 18, 26, .22); }

/* ===================== 作品网格 ===================== */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.work {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; transition: .2s ease;
}
.work:hover { transform: translateY(-4px); border-color: rgba(53, 208, 192, .4); }
.work-thumb {
  position: relative; aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #1b2534, #101823);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; cursor: pointer;
}
.work-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.work-thumb .ph {
  font-size: 30px; font-weight: 800; letter-spacing: .04em;
  color: rgba(255, 255, 255, .12); user-select: none;
}
.badge-cat {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  font-size: 11.5px; font-weight: 600; padding: 3px 10px; border-radius: 999px;
  color: #dfeaf6; background: rgba(8, 14, 22, .72);
  border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(6px);
}
.badge-demo {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  font-size: 11.5px; font-weight: 700; padding: 3px 10px; border-radius: 999px;
  color: #0b1a22; background: linear-gradient(100deg, #35d0c0, #6c8cff);
}
.work-play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(6, 12, 20, .5); opacity: 0; transition: .2s ease;
}
.work-thumb:hover .work-play { opacity: 1; }
.work-play span {
  padding: 9px 18px; border-radius: 999px; font-size: 13.5px; font-weight: 600;
  background: linear-gradient(100deg, var(--accent), var(--accent-2)); color: #06121a;
}
.work-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.work-body h3 { font-size: 16.5px; }
.work-body p { color: var(--muted); font-size: 13.8px; flex: 1; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  font-size: 11.5px; padding: 3px 9px; border-radius: 999px;
  color: var(--accent); background: rgba(53, 208, 192, .1);
  border: 1px solid rgba(53, 208, 192, .22);
}
.work-acts { display: flex; gap: 8px; margin-top: 2px; }
.work-acts .btn { flex: 1; padding: 8px 10px; font-size: 13px; border-radius: 10px; }

.loading, .empty {
  grid-column: 1 / -1; text-align: center; color: var(--muted);
  padding: 48px 0; font-size: 14.5px;
}

/* ===================== 流程 ===================== */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps li {
  position: relative; padding: 24px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--card);
}
.steps span { font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: .08em; }
.steps h3 { font-size: 16.5px; margin: 10px 0 8px; }
.steps p { color: var(--muted); font-size: 14px; }

/* ===================== CTA ===================== */
.section-cta { padding-bottom: 96px; }
.cta-inner {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center;
  background: linear-gradient(135deg, rgba(53, 208, 192, .1), rgba(108, 140, 255, .08));
  border: 1px solid var(--line); border-radius: 22px; padding: 44px;
}
.cta-inner h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 12px; }
.contact-box { display: flex; flex-direction: column; gap: 10px; }
.contact-row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 13px 18px; border-radius: 12px;
  background: rgba(6, 12, 20, .5); border: 1px solid var(--line);
  font-size: 14.5px;
}
.contact-row .k { color: var(--muted); font-size: 13px; }
.contact-row .v { font-weight: 600; word-break: break-all; text-align: right; }
a.contact-row:hover { border-color: rgba(53, 208, 192, .45); }

/* ===================== 页脚 ===================== */
.foot { border-top: 1px solid var(--line); padding: 26px 0; }
.foot-inner {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  color: var(--muted); font-size: 13.5px;
}

/* ===================== 预览弹窗 ===================== */
.modal {
  position: fixed; inset: 0; z-index: 100; display: none;
  background: rgba(4, 8, 13, .82); backdrop-filter: blur(6px);
  padding: 24px;
}
.modal.open { display: flex; flex-direction: column; }
.modal-bar {
  display: flex; align-items: center; gap: 14px;
  padding: 10px 14px; flex-wrap: wrap;
  background: var(--card); border: 1px solid var(--line);
  border-radius: 12px 12px 0 0; border-bottom: none;
}
.modal-title { font-weight: 700; font-size: 14.5px; }
.modal-hint { color: var(--muted); font-size: 12.5px; flex: 1; }
.modal-acts { display: flex; gap: 8px; }
.btn-close { background: rgba(255, 255, 255, .06); border-color: var(--line); color: var(--text); }
.modal-body {
  flex: 1; min-height: 0; background: #fff;
  border: 1px solid var(--line); border-radius: 0 0 12px 12px; overflow: hidden;
}
.modal-body iframe { width: 100%; height: 100%; border: 0; display: block; background: #fff; }

/* ===================== 响应式 ===================== */
@media (max-width: 960px) {
  .cards, .grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .cta-inner { grid-template-columns: 1fr; padding: 32px; gap: 28px; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .hero { padding: 64px 0 56px; }
  .hero-stats { gap: 26px; }
  .cards, .grid, .steps { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .modal { padding: 0; }
  .modal-bar { border-radius: 0; }
  .modal-hint { display: none; }
  .modal-body { border-radius: 0; }
}
