/* ========== 光跃粒子 · 设计系统（Apple Intelligence 风格） ========== */
:root {
  --bg: #f5f5f7;
  --bg-2: #ffffff;
  --bg-3: #fbfbfd;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --siri: linear-gradient(100deg, #0090ff 0%, #6f3ff5 38%, #e63888 72%, #ff7a1a 100%);
  --border: rgba(0, 0, 0, 0.08);
  --border-strong: rgba(0, 0, 0, 0.14);
  --glass: rgba(251, 251, 253, 0.72);
  --shadow-sm: 0 4px 18px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 18px 50px rgba(0, 0, 0, 0.09);
  --radius: 24px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.01em;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: rgba(0, 144, 255, 0.22); }

::-webkit-scrollbar { width: 9px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #c7c7cc; border-radius: 8px; }

/* ========== 通用布局 ========== */
.container { width: min(1080px, 92vw); margin: 0 auto; }
.section { padding: 100px 0; position: relative; }
.section-tag {
  display: inline-block;
  font-size: 14px; letter-spacing: 0.06em; font-weight: 600;
  margin-bottom: 14px;
  background: var(--siri);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-title {
  font-size: clamp(30px, 4.6vw, 52px); font-weight: 700; line-height: 1.15;
  margin-bottom: 16px; letter-spacing: -0.02em;
}
.section-title .grad, .grad-text {
  background: var(--siri);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.section-desc { color: var(--muted); max-width: 620px; font-size: 17px; }

/* ========== 导航（磨砂玻璃） ========== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%);
  background: var(--glass);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.nav.scrolled { border-bottom-color: var(--border); box-shadow: 0 2px 20px rgba(0,0,0,.04); }
.nav-inner {
  width: min(1200px, 94vw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 60px;
}
.logo { display: flex; align-items: center; gap: 9px; font-size: 19px; font-weight: 700; letter-spacing: 0.02em; }
.logo-orb {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--siri);
  box-shadow: 0 2px 12px rgba(111, 63, 245, 0.45);
  animation: orbPulse 3.4s ease-in-out infinite;
}
@keyframes orbPulse { 0%,100% { transform: scale(1); filter: hue-rotate(0deg); } 50% { transform: scale(1.12); filter: hue-rotate(30deg); } }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a {
  font-size: 14px; color: var(--muted);
  position: relative; transition: color .25s; padding: 6px 0; font-weight: 500;
}
.nav-links a::after {
  content: ""; position: absolute; left: 50%; bottom: 0; height: 2px; width: 0;
  transform: translateX(-50%);
  background: var(--siri); border-radius: 2px; transition: width .3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-auth { display: flex; align-items: center; gap: 12px; }
.nav-user { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--muted); max-width: 220px; }
.nav-user span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-user .avatar {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  background: var(--siri); display: grid; place-items: center;
  color: #fff; font-weight: 700; font-size: 13px;
}
.link-logout { cursor: pointer; color: var(--muted); font-size: 13px; background: none; border: none; font-family: var(--font); }
.link-logout:hover { color: #e63888; }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 10px; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; transition: .3s; }

/* ========== 按钮（Apple 胶囊） ========== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 26px; border-radius: 999px; font-size: 15px; font-weight: 600;
  cursor: pointer; border: none; font-family: var(--font);
  transition: transform .2s, box-shadow .25s, background .25s, color .25s, opacity .2s;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-hover); transform: scale(1.03); }
.btn-ghost {
  background: transparent; color: var(--blue);
  border: 1px solid var(--blue);
}
.btn-ghost:hover { background: rgba(0, 113, 227, 0.07); transform: scale(1.03); }
.btn-danger { background: #ff3b30; color: #fff; }
.btn-danger:hover { background: #e0342b; }
.btn-sm { padding: 8px 18px; font-size: 13.5px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none !important; }

/* ========== Hero（Apple Intelligence） ========== */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden; padding-top: 60px;
  background: var(--bg-3);
}
.hero-glow {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5;
  pointer-events: none;
}
.hero-glow.g1 { width: 560px; height: 560px; top: -140px; right: -100px; background: radial-gradient(circle, #8ec5ff, transparent 68%); }
.hero-glow.g2 { width: 480px; height: 480px; bottom: -160px; left: -120px; background: radial-gradient(circle, #f3b2ff, transparent 68%); }
.hero-glow.g3 { width: 420px; height: 420px; top: 34%; left: 44%; background: radial-gradient(circle, #ffd9b0, transparent 68%); opacity: .38; }
#particle-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .5; }
.hero-content { position: relative; z-index: 2; text-align: center; width: 100%; }
.hero h1 {
  font-size: clamp(42px, 7.2vw, 84px); font-weight: 800; line-height: 1.08;
  letter-spacing: -0.03em; margin: 22px auto 26px; max-width: 900px;
}
.hero p.lead { color: var(--muted); font-size: clamp(16px, 1.8vw, 21px); max-width: 620px; margin: 0 auto 44px; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--border); border-radius: 999px;
  padding: 8px 18px; font-size: 12.5px; color: var(--muted);
  background: rgba(255,255,255,0.7); letter-spacing: 0.14em; font-weight: 600;
  box-shadow: var(--shadow-sm);
}
.hero-badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--siri); animation: orbPulse 2.4s infinite;
}
.hero-stats { display: flex; gap: 0; margin: 76px auto 0; justify-content: center; flex-wrap: wrap; max-width: 860px; }
.stat { padding: 0 44px; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 12%; bottom: 12%; width: 1px; background: var(--border-strong); }
.stat .num {
  font-size: 38px; font-weight: 800; letter-spacing: -0.02em;
  background: var(--siri); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat .label { color: var(--muted); font-size: 13.5px; margin-top: 2px; }

/* ========== 卡片 ========== */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--bg-2);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 36px 30px; position: relative; overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .35s cubic-bezier(.2,.6,.2,1), box-shadow .35s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card .icon {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center;
  background: linear-gradient(140deg, rgba(0,144,255,.1), rgba(111,63,245,.1), rgba(230,56,136,.1));
  margin-bottom: 20px; font-size: 24px;
}
.card h3 { font-size: 19px; margin-bottom: 8px; letter-spacing: -0.01em; }
.card p { color: var(--muted); font-size: 14.5px; }

/* ========== 页面头 ========== */
.page-hero {
  padding: 170px 0 80px; position: relative; overflow: hidden; text-align: center;
  background: var(--bg-3);
}
.page-hero::before {
  content: ""; position: absolute; width: 640px; height: 640px; border-radius: 50%;
  top: -260px; left: 50%; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(143,197,255,.45), transparent 66%);
  filter: blur(40px); pointer-events: none;
}
.page-hero .container { position: relative; }
.page-hero h1 { font-size: clamp(34px, 5.4vw, 60px); font-weight: 800; letter-spacing: -0.03em; margin: 14px auto 18px; max-width: 860px; }
.page-hero .section-desc { margin: 0 auto; }

/* ========== 案例视频 ========== */
.case-card { padding: 0; cursor: pointer; }
.case-thumb { position: relative; aspect-ratio: 16/10; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; background: #0b0b10; }
.case-thumb img, .case-thumb video { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.case-card:hover .case-thumb img { transform: scale(1.05); }
.case-thumb::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(0deg, rgba(0,0,0,.42), transparent 52%);
}
.case-thumb.playing::after,
.case-thumb.playing .play-btn,
.case-thumb.playing .case-duration { display: none; }
.case-thumb.playing { cursor: default; }
.inline-loading {
  position: absolute; inset: 0; z-index: 3;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  background: rgba(6, 6, 12, .55); color: #fff; font-size: 13px; letter-spacing: .02em;
  backdrop-filter: blur(4px);
}
.inline-loading .bar { width: 68%; height: 5px; border-radius: 3px; background: rgba(255,255,255,.22); overflow: hidden; }
.inline-loading .bar > i {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg,#0090ff,#6f3ff5,#e63888); transition: width .25s;
}
.play-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 64px; height: 64px; border-radius: 50%; z-index: 2;
  background: rgba(255, 255, 255, .24); border: 1px solid rgba(255,255,255,.5);
  backdrop-filter: blur(10px); display: grid; place-items: center;
  transition: transform .3s, background .3s;
}
.play-btn svg { margin-left: 4px; }
.case-card:hover .play-btn { transform: translate(-50%,-50%) scale(1.1); background: rgba(255,255,255,.4); }
.case-duration {
  position: absolute; right: 14px; bottom: 12px; z-index: 2;
  font-size: 12px; padding: 3px 10px; border-radius: 999px;
  background: rgba(0,0,0,.55); color: #fff;
}
.case-body { padding: 22px 24px 26px; }
.case-cat { font-size: 12px; letter-spacing: 0.12em; margin-bottom: 8px; font-weight: 700;
  background: var(--siri); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.case-body h3 { font-size: 18px; margin-bottom: 6px; }
.case-body p { color: var(--muted); font-size: 14px; }
.case-client { margin-top: 10px; font-size: 13px; color: var(--muted); }
.case-client b { color: var(--text); font-weight: 600; }

/* 视频弹窗 */
.video-modal {
  position: fixed; inset: 0; z-index: 200; display: none;
  align-items: center; justify-content: center;
  background: rgba(0, 0, 0, .82); backdrop-filter: blur(12px);
}
.video-modal.open { display: flex; }
.video-modal .modal-box { width: min(960px, 92vw); position: relative; }
.video-modal video {
  display: block; margin: 0 auto;
  width: auto; max-width: 100%; max-height: 76vh;
  border-radius: 18px; background: #000;
}
.video-modal .modal-box { text-align: center; }
.video-modal .modal-title { margin: 16px 4px 0; font-size: 17px; color: #fff; }
.video-modal .form-msg.err { color: #ffb3ab; }
.modal-close {
  position: absolute; top: -48px; right: 0; width: 38px; height: 38px;
  border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.1);
  color: #fff; font-size: 17px; cursor: pointer;
}
.modal-close:hover { background: rgba(255,255,255,.25); }

/* ========== 表单 ========== */
.form-card {
  background: var(--bg-2);
  border: 1px solid var(--border); border-radius: 28px; padding: 42px;
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 13.5px; color: var(--muted); margin-bottom: 7px; font-weight: 500; }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 15px; border-radius: 12px;
  background: var(--bg); border: 1px solid var(--border);
  color: var(--text); font-size: 15px; font-family: var(--font);
  transition: border-color .25s, box-shadow .25s; outline: none;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--blue); box-shadow: 0 0 0 3.5px rgba(0,113,227,.16); background: #fff;
}
.field textarea { resize: vertical; min-height: 120px; }
.form-msg { font-size: 14px; margin-top: 14px; min-height: 22px; }
.form-msg.ok { color: #248a3d; }
.form-msg.err { color: #d70015; }
.file-drop {
  border: 1.5px dashed var(--border-strong); border-radius: 14px; padding: 22px;
  text-align: center; color: var(--muted); font-size: 14px; cursor: pointer;
  transition: border-color .25s, background .25s; display: block;
}
.file-drop:hover { border-color: var(--blue); background: rgba(0,113,227,.04); }
.file-drop input { display: none; }

/* ========== 登录页 ========== */
.auth-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 110px 4vw 50px; position: relative; overflow: hidden; background: var(--bg-3); }
.auth-wrap::before {
  content: ""; position: absolute; inset: 0;
  background: url("../img/about-glass.png") center / cover no-repeat; opacity: .5;
}
.auth-wrap::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 72% 62% at 50% 42%, transparent 30%, var(--bg-3) 88%);
}
.auth-card {
  position: relative; z-index: 2; width: min(440px, 94vw);
  background: var(--glass); backdrop-filter: blur(28px) saturate(180%); -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255,255,255,.65); border-radius: 28px; padding: 42px 38px;
  box-shadow: 0 30px 80px rgba(0,0,0,.14);
}
.auth-card h2 { font-size: 26px; letter-spacing: -0.02em; margin-bottom: 6px; }
.auth-card .sub { color: var(--muted); font-size: 14px; margin-bottom: 26px; }
.auth-tabs { display: flex; gap: 6px; margin-bottom: 26px; background: rgba(0,0,0,.05); padding: 4px; border-radius: 12px; }
.auth-tabs button {
  flex: 1; padding: 9px; border: none; border-radius: 9px; cursor: pointer;
  background: transparent; color: var(--muted); font-size: 13.5px; font-family: var(--font);
  font-weight: 500; transition: .25s;
}
.auth-tabs button.active { background: #fff; color: var(--text); font-weight: 600; box-shadow: 0 2px 10px rgba(0,0,0,.08); }
.otp-row { display: flex; gap: 10px; }
.otp-row input { flex: 1; }
.otp-row .btn { white-space: nowrap; }
.auth-links { display: flex; justify-content: space-between; margin-top: 15px; font-size: 13.5px; }
.auth-links a { color: var(--blue); cursor: pointer; }
.auth-links a:hover { text-decoration: underline; }

/* ========== 优势列表 ========== */
.adv-list { display: flex; flex-direction: column; gap: 20px; }
.adv-item {
  display: flex; gap: 26px; align-items: flex-start;
  border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 32px;
  background: var(--bg-2); box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
}
.adv-item:hover { transform: translateX(8px); box-shadow: var(--shadow-md); }
.adv-num {
  font-size: 30px; font-weight: 800; min-width: 58px; letter-spacing: -0.02em;
  background: var(--siri); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.adv-item h3 { font-size: 19px; margin-bottom: 6px; }
.adv-item p { color: var(--muted); font-size: 14.5px; }
.about-visual { border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-md); }

/* ========== 服务流程 ========== */
.step-line { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step {
  position: relative; padding: 30px 26px; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--bg-2); box-shadow: var(--shadow-sm);
}
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-size: 38px; font-weight: 800; display: block; margin-bottom: 12px; letter-spacing: -0.02em;
  background: var(--siri); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14px; }

/* ========== 联系信息 ========== */
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.contact-item {
  display: flex; gap: 16px; align-items: center; padding: 20px 24px;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--bg-2); box-shadow: var(--shadow-sm);
}
.contact-item .icon { font-size: 21px; width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: linear-gradient(140deg, rgba(0,144,255,.1), rgba(230,56,136,.1)); flex-shrink: 0; }
.contact-item .t { font-size: 12.5px; color: var(--muted); }
.contact-item .v { font-size: 16px; font-weight: 600; margin-top: 2px; }

/* ========== CTA ========== */
.cta-band {
  border-radius: 32px; padding: 72px 8%; text-align: center; position: relative; overflow: hidden;
  background: var(--bg-2); border: 1px solid var(--border); box-shadow: var(--shadow-md);
}
.cta-band::before {
  content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%;
  top: -300px; right: -160px;
  background: radial-gradient(circle, rgba(243,178,255,.5), transparent 66%); filter: blur(30px);
}
.cta-band::after {
  content: ""; position: absolute; width: 460px; height: 460px; border-radius: 50%;
  bottom: -300px; left: -140px;
  background: radial-gradient(circle, rgba(142,197,255,.5), transparent 66%); filter: blur(30px);
}
.cta-band > * { position: relative; z-index: 2; }
.cta-band h2 { font-size: clamp(26px, 3.6vw, 40px); margin-bottom: 12px; letter-spacing: -0.02em; }
.cta-band p { color: var(--muted); margin-bottom: 30px; }

/* ========== 页脚 ========== */
.footer { border-top: 1px solid var(--border); padding: 56px 0 30px; background: var(--bg); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 36px; margin-bottom: 42px; }
.footer h4 { font-size: 13px; margin-bottom: 15px; color: var(--text); }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 9px; }
.footer ul a { color: var(--muted); font-size: 13px; transition: color .25s; }
.footer ul a:hover { color: var(--blue); }
.footer .brand-desc { color: var(--muted); font-size: 13px; margin-top: 14px; max-width: 300px; }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 22px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  color: var(--muted); font-size: 12.5px;
}
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--blue); }

/* ========== 动效 ========== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s cubic-bezier(.2,.6,.2,1), transform .8s cubic-bezier(.2,.6,.2,1); }
.reveal.visible { opacity: 1; transform: none; }
.marquee { overflow: hidden; padding: 22px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-2); }
.marquee-track { display: flex; gap: 64px; width: max-content; animation: marquee 30s linear infinite; }
.marquee-track span { font-size: 15px; letter-spacing: 0.3em; color: rgba(110,110,115,.6); font-weight: 600; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ========== 后台管理 ========== */
.admin-shell { padding: 110px 0 80px; min-height: 100vh; }
.admin-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-bottom: 30px; }
.admin-head h1 { font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -0.02em; }
.admin-tabs {
  display: flex; gap: 8px; margin-bottom: 30px; overflow-x: auto;
  background: var(--bg-2); border: 1px solid var(--border); padding: 6px; border-radius: 16px;
  box-shadow: var(--shadow-sm); -webkit-overflow-scrolling: touch;
}
.admin-tabs button {
  padding: 10px 22px; border: none; border-radius: 11px; cursor: pointer; white-space: nowrap;
  background: transparent; color: var(--muted); font-size: 14px; font-family: var(--font); font-weight: 500;
  transition: .25s;
}
.admin-tabs button.active { background: var(--text); color: #fff; font-weight: 600; }
.admin-panel { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-sm); }
.admin-panel h2 { font-size: 20px; margin-bottom: 6px; letter-spacing: -0.01em; }
.admin-panel .hint { color: var(--muted); font-size: 13.5px; margin-bottom: 26px; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-table th { text-align: left; color: var(--muted); font-weight: 500; font-size: 12.5px; padding: 10px 12px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.admin-table td { padding: 13px 12px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table .thumb { width: 84px; height: 52px; object-fit: cover; border-radius: 8px; background: #0b0b10; }
.admin-table .ops { display: flex; gap: 8px; }
.admin-cards { display: flex; flex-direction: column; gap: 14px; }
.admin-row-card {
  border: 1px solid var(--border); border-radius: 16px; padding: 18px;
  display: flex; gap: 16px; align-items: center; flex-wrap: wrap; background: var(--bg-3);
}
.admin-row-card .thumb { width: 96px; height: 60px; object-fit: cover; border-radius: 10px; background: #0b0b10; flex-shrink: 0; }
.admin-row-card .info { flex: 1; min-width: 180px; }
.admin-row-card .info .t1 { font-weight: 600; font-size: 15px; }
.admin-row-card .info .t2 { color: var(--muted); font-size: 13px; margin-top: 3px; }
.tag {
  display: inline-block; font-size: 11.5px; padding: 2px 10px; border-radius: 999px;
  background: rgba(0,113,227,.09); color: var(--blue); font-weight: 600; margin-right: 6px;
}
.tag.new { background: rgba(255,59,48,.1); color: #d70015; }
.tag.done { background: rgba(52,199,89,.12); color: #248a3d; }

/* 编辑弹窗 */
.edit-modal { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; background: rgba(0,0,0,.4); backdrop-filter: blur(8px); padding: 4vw; }
.edit-modal.open { display: flex; }
.edit-modal .modal-card {
  background: #fff; border-radius: 24px; padding: 34px; width: min(620px, 100%);
  max-height: 88vh; overflow-y: auto; box-shadow: 0 40px 100px rgba(0,0,0,.25);
}
.edit-modal h3 { font-size: 19px; margin-bottom: 22px; }

/* 空状态 / 权限提示 */
.admin-empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.admin-empty .big { font-size: 44px; margin-bottom: 14px; }

/* ========== H5 响应式 ========== */
@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .step-line { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .section { padding: 72px 0; }
  .grid-3, .grid-2, .grid-4, .step-line, .form-row { grid-template-columns: 1fr; }
  .form-card, .admin-panel { padding: 26px 20px; border-radius: 22px; }
  .menu-toggle { display: block; }
  .nav-links {
    position: fixed; top: 60px; right: 0; left: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: rgba(251,251,253,.97); border-bottom: 1px solid var(--border);
    padding: 12px 5vw 22px; display: none;
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 13px 4px; font-size: 16px; }
  .hero { min-height: 92vh; }
  .hero-stats { margin-top: 56px; }
  .stat { padding: 12px 22px; }
  .stat + .stat::before { display: none; }
  .stat .num { font-size: 30px; }
  .page-hero { padding: 130px 0 56px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .adv-item { flex-direction: column; gap: 10px; padding: 26px 22px; }
  .admin-table { display: none; }
  .auth-card { padding: 34px 26px; }
  .cta-band { padding: 54px 7%; }
  .btn { padding: 13px 24px; } /* 触控目标 ≥ 44px */
  .nav-user { max-width: 130px; }
  /* 移动端导航防挤压：收紧 Logo 尺寸并允许截断 */
  .logo { font-size: 17px; gap: 7px; min-width: 0; flex-shrink: 1; }
  .logo > span[data-setting] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 6em; }
  .logo-orb { width: 18px; height: 18px; flex: none; }
  .logo-img { height: 24px; max-width: 86px; flex: none; }
  #auth-nav .btn-sm { padding: 8px 14px; font-size: 13px; white-space: nowrap; }
  .nav-user { max-width: 104px; font-size: 12px; }
}
@media (min-width: 721px) {
  .admin-cards.only-mobile { display: none; }
}

/* ---------- Logo 图片（后台上传） ---------- */
.logo-img {
  height: 30px; width: auto; max-width: 140px;
  display: block; object-fit: contain; border-radius: 6px;
}

/* ---------- 关于我们 · 二维码 ---------- */
.qr-band {
  display: flex; align-items: center; justify-content: center; gap: 40px;
  background: var(--card, #fff); border: 1px solid var(--border, #e8e8ed);
  border-radius: 28px; padding: 44px 6%;
  box-shadow: 0 18px 44px rgba(0,0,0,.06);
}
.qr-band img {
  width: 168px; height: 168px; object-fit: contain;
  border-radius: 18px; border: 1px solid var(--border, #e8e8ed);
  background: #fff; padding: 10px; flex: none;
}
.qr-band h3 { font-size: 24px; margin: 0 0 10px; letter-spacing: -.01em; }
.qr-band p { color: var(--muted, #6e6e73); font-size: 15px; margin: 0; line-height: 1.7; }
@media (max-width: 720px) {
  .qr-band { flex-direction: column; text-align: center; gap: 22px; padding: 36px 7%; }
}

/* ---------- 后台拖拽上传 ---------- */
.dropzone {
  border: 1.5px dashed #c7c7cf; border-radius: 16px;
  background: #fafafc; padding: 22px; text-align: center;
  color: var(--muted, #6e6e73); font-size: 14px; line-height: 1.7;
  cursor: pointer; transition: border-color .2s, background .2s;
}
.dropzone:hover, .dropzone.dragover { border-color: #0071e3; background: #f0f7ff; color: #0071e3; }
.dropzone .dz-icon { font-size: 26px; display: block; margin-bottom: 6px; }
.dropzone-preview { display: flex; align-items: center; gap: 16px; margin-top: 14px; }
.dropzone-preview img {
  max-height: 72px; max-width: 200px; border-radius: 10px;
  border: 1px solid var(--border, #e8e8ed); background: #fff; padding: 6px; object-fit: contain;
}
.dropzone-preview video { max-height: 120px; max-width: 220px; border-radius: 10px; background: #000; }
.dz-progress {
  height: 6px; border-radius: 3px; background: #e8e8ed; overflow: hidden; margin-top: 12px; display: none;
}
.dz-progress > i { display: block; height: 100%; width: 0; background: linear-gradient(90deg,#0090ff,#6f3ff5,#e63888); transition: width .2s; }

/* ---------- 首页：传统制作 vs AIGC 对比 ---------- */
.compare-card { padding: 36px 32px; }
.compare-head { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; }
.compare-head h3 { font-size: 22px; margin: 0; }
.compare-icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  font-size: 22px; background: linear-gradient(135deg, rgba(0,144,255,.12), rgba(111,63,245,.12), rgba(230,56,136,.12));
}
.compare-bars { display: flex; flex-direction: column; gap: 18px; margin-bottom: 26px; }
.cbar-label { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; color: var(--muted, #6e6e73); margin-bottom: 7px; }
.cbar-label b { font-size: 15px; color: var(--text, #1d1d1f); font-weight: 700; }
.cbar-track { height: 10px; border-radius: 5px; background: #e8e8ed; overflow: hidden; }
.cbar-fill { display: block; height: 100%; border-radius: 5px; }
.cbar-fill.dim { background: #c7c7cc; }
.cbar-fill.glow { background: linear-gradient(90deg,#0090ff,#6f3ff5,#e63888,#ff7a1a); min-width: 14px; }
.compare-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; border-top: 1px solid var(--border, #e8e8ed); padding-top: 22px; }
.compare-flows { display: flex; flex-direction: column; gap: 14px; margin-bottom: 24px; }
.cflow-label { font-size: 12px; font-weight: 700; letter-spacing: .05em; color: var(--muted, #6e6e73); margin-bottom: 8px; text-transform: uppercase; }
.cflow-label.aigc { background: linear-gradient(90deg,#0090ff,#6f3ff5,#e63888); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.cflow-steps { display: flex; flex-wrap: wrap; gap: 6px; }
.cflow-steps span {
  font-size: 12px; padding: 5px 10px; border-radius: 999px;
  background: var(--bg-2, #f5f5f7); border: 1px solid var(--border, #e8e8ed); color: var(--text, #1d1d1f);
  white-space: nowrap;
}
.cflow-steps span + span { position: relative; margin-left: 10px; }
.cflow-steps span + span::before {
  content: "›"; position: absolute; left: -11px; top: 50%; transform: translateY(-50%);
  color: #c7c7cc; font-weight: 700;
}
.cflow-desc { font-size: 13px; line-height: 1.7; color: var(--muted, #6e6e73); margin: 0; }
.cc-item b { font-weight: 700; }
.cc-title { font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--muted, #6e6e73); margin-bottom: 12px; text-transform: uppercase; }
.cc-item { position: relative; font-size: 13.5px; line-height: 1.65; padding-left: 22px; margin-bottom: 10px; color: var(--text, #1d1d1f); }
.cc-item::before {
  position: absolute; left: 0; top: 1px; width: 15px; height: 15px; border-radius: 50%;
  display: grid; place-items: center; font-size: 10px; font-weight: 700; color: #fff;
}
.cc-item.pro::before { content: "✓"; background: #34c759; }
.cc-item.con::before { content: "✕"; background: #ff9500; }
@media (max-width: 720px) {
  .compare-card { padding: 26px 20px; }
  .compare-cols { grid-template-columns: 1fr; gap: 14px; }
}

/* ---------- 首页业务领域滚动弹幕 ---------- */
.marquee {
  overflow: hidden;
  margin-top: 28px;
  padding: 14px 0;
  border-top: 1px solid var(--border, #e8e8ed);
  border-bottom: 1px solid var(--border, #e8e8ed);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  animation: mq-scroll 36s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.mq-item {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--muted, #6e6e73);
  padding: 0 26px;
  transition: opacity .25s, transform .25s;
}
/* 彩色弹幕：5 色 + 大小错落（10 条/循环，5 组一轮，无缝衔接） */
.marquee { font-size: 17px; }
.marquee-track .mq-item {
  font-weight: 700;
  background: linear-gradient(120deg, var(--mq-c1), var(--mq-c2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.marquee-track .mq-item:nth-child(10n+1) { --mq-c1:#0090ff; --mq-c2:#6f3ff5; font-size:1.30em; }
.marquee-track .mq-item:nth-child(10n+3) { --mq-c1:#6f3ff5; --mq-c2:#e63888; font-size:0.88em; }
.marquee-track .mq-item:nth-child(10n+5) { --mq-c1:#ff6a00; --mq-c2:#ee0f6f; font-size:1.52em; font-weight:800; }
.marquee-track .mq-item:nth-child(10n+7) { --mq-c1:#00a6a6; --mq-c2:#2fb34a; font-size:1.00em; }
.marquee-track .mq-item:nth-child(10n+9) { --mq-c1:#e63888; --mq-c2:#7a5cff; font-size:1.14em; }
.marquee:hover .mq-item { opacity: .75; }
.mq-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: linear-gradient(135deg, #0090ff, #6f3ff5, #e63888);
  flex: none;
}
@keyframes mq-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (max-width: 720px) {
  .marquee { font-size: 14px; margin-top: 22px; padding: 12px 0; }
  .marquee-track .mq-item { padding: 0 18px; }
}
