/* ============================================================
   上海东信文化传播有限公司 - 专业设计服务信息平台
   css/style.css 全局样式：鲜艳明亮配色 + 广告设计美学
   ============================================================ */
:root {
  --primary: #FF6B35;
  --primary-dark: #E8551F;
  --yellow: #FFD23F;
  --blue: #00B4D8;
  --green: #06D6A0;
  --purple: #7B5CF0;
  --dark: #1B263B;
  --dark-2: #2A3A55;
  --text: #2B3440;
  --text-light: #6B7684;
  --bg: #F6F8FC;
  --card-bg: #FFFFFF;
  --line: #E8ECF3;
  --radius: 16px;
  --shadow: 0 6px 20px rgba(27, 38, 59, 0.08);
  --shadow-lg: 0 14px 40px rgba(27, 38, 59, 0.14);
  --grad-main: linear-gradient(120deg, #FF6B35 0%, #FF8E53 50%, #FFD23F 100%);
  --grad-blue: linear-gradient(120deg, #00B4D8 0%, #48CAE4 60%, #90E0EF 100%);
  --grad-green: linear-gradient(120deg, #06D6A0 0%, #4CD9B2 60%, #9BF6D0 100%);
  --grad-purple: linear-gradient(120deg, #7B5CF0 0%, #A78BFA 60%, #C4B5FD 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.hidden { display: none !important; }

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border: none;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all .25s ease;
  font-family: inherit;
  line-height: 1.4;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad-main);
  color: #fff;
  box-shadow: 0 6px 16px rgba(255, 107, 53, .35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(255, 107, 53, .45); }
.btn-blue {
  background: var(--grad-blue);
  color: #fff;
  box-shadow: 0 6px 16px rgba(0, 180, 216, .35);
}
.btn-blue:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(0, 180, 216, .45); }
.btn-green {
  background: var(--grad-green);
  color: #0B3D33;
  box-shadow: 0 6px 16px rgba(6, 214, 160, .35);
}
.btn-green:hover { transform: translateY(-2px); }
.btn-ghost {
  background: #fff;
  color: var(--dark);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-lg { padding: 13px 34px; font-size: 16px; }
.btn-sm { padding: 6px 14px; font-size: 13px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: not-allowed; transform: none !important; }
.btn .pay-icon { margin-right: 6px; font-style: normal; }

/* ---------------- 顶部导航 ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  box-shadow: 0 2px 12px rgba(27, 38, 59, .06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--grad-main);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 22px; font-weight: 800;
  box-shadow: 0 6px 14px rgba(255, 107, 53, .35);
}
.logo-text { line-height: 1.25; }
.logo-text strong { font-size: 18px; color: var(--dark); display: block; letter-spacing: .5px; }
.logo-text span { font-size: 11px; color: var(--text-light); letter-spacing: 2px; }
.site-nav { display: flex; gap: 4px; }
.site-nav a {
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  transition: all .2s;
  position: relative;
}
.site-nav a:hover { color: var(--primary); background: #FFF3EC; }
.site-nav a.active { color: #fff; background: var(--grad-main); font-weight: 600; box-shadow: 0 4px 12px rgba(255,107,53,.3); }
.user-area { display: flex; align-items: center; gap: 10px; }
.user-name {
  font-weight: 600; color: var(--dark);
  background: #FFF6E9; border: 1px solid #FFE3B3;
  padding: 5px 14px; border-radius: 999px;
  max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* ---------------- 页脚 ---------------- */
.site-footer { background: var(--dark); color: #B8C2D4; margin-top: 0; }
.footer-main { display: flex; justify-content: space-between; gap: 40px; padding: 52px 0 36px; flex-wrap: wrap; }
.footer-brand { max-width: 380px; }
.footer-brand h3 { color: #fff; font-size: 20px; margin-bottom: 12px; }
.footer-brand .logo-mark { margin-bottom: 14px; }
.footer-brand p { font-size: 13px; line-height: 1.9; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer-col a { display: block; font-size: 13px; color: #B8C2D4; padding: 4px 0; transition: color .2s; }
.footer-col a:hover { color: var(--yellow); }
.footer-contact li { display: flex; align-items: center; gap: 8px; font-size: 13px; padding: 5px 0; }
.footer-contact .ic { color: var(--yellow); font-style: normal; font-weight: 700; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 18px 0;
  text-align: center;
  font-size: 12px;
  color: #8B96A8;
}
.footer-bottom a { color: #B8C2D4; transition: color .2s; }
.footer-bottom a:hover { color: var(--yellow); }

/* ---------------- 首页 Hero Banner ---------------- */
.hero { position: relative; overflow: hidden; }
.hero-slider { position: relative; height: 460px; }
.hero-slide {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  opacity: 0; transition: opacity .8s ease;
  padding: 0 8%;
  color: #fff;
}
.hero-slide.active { opacity: 1; z-index: 2; }
.hero-slide .hero-inner { max-width: 640px; }
.hero-slide h2 { font-size: 46px; font-weight: 800; line-height: 1.25; margin-bottom: 18px; letter-spacing: 1px; }
.hero-slide p { font-size: 17px; opacity: .95; margin-bottom: 30px; max-width: 560px; }
.hero-slide .hero-tag {
  display: inline-block; background: rgba(255,255,255,.22);
  border: 1px solid rgba(255,255,255,.4);
  padding: 4px 14px; border-radius: 999px; font-size: 13px; margin-bottom: 18px;
  backdrop-filter: blur(4px);
}
.hero-1 { background: linear-gradient(120deg, #FF5E3A 0%, #FF7A45 45%, #FFB547 100%); }
.hero-2 { background: linear-gradient(120deg, #0077B6 0%, #00B4D8 50%, #48CAE4 100%); }
.hero-3 { background: linear-gradient(120deg, #06A77D 0%, #06D6A0 50%, #7FE0B8 100%); }
.hero-2 h2, .hero-3 h2 { text-shadow: 0 3px 14px rgba(0,0,0,.18); }
.hero-dots {
  position: absolute; bottom: 26px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 10px; z-index: 5;
}
.hero-dots span {
  width: 12px; height: 12px; border-radius: 50%;
  background: rgba(255,255,255,.45); cursor: pointer;
  transition: all .3s;
}
.hero-dots span.active { background: #fff; transform: scale(1.25); }
.hero-arrows {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.25); color: #fff;
  border: 1px solid rgba(255,255,255,.45);
  font-size: 20px; display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 5; transition: all .25s;
  backdrop-filter: blur(4px);
}
.hero-arrows:hover { background: rgba(255,255,255,.45); }
.hero-prev { left: 24px; }
.hero-next { right: 24px; }

/* ---------------- 区块标题 ---------------- */
.section { padding: 56px 0; }
.section-head { text-align: center; margin-bottom: 36px; }
.section-head .eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700;
  letter-spacing: 3px; color: var(--primary);
  background: #FFF0E8; padding: 4px 16px; border-radius: 999px; margin-bottom: 12px;
}
.section-head h2 { font-size: 32px; font-weight: 800; color: var(--dark); margin-bottom: 10px; }
.section-head p { color: var(--text-light); font-size: 15px; }
.section-head.left { text-align: left; }

/* ---------------- 服务入口卡片 ---------------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card {
  background: #fff; border-radius: var(--radius);
  padding: 34px 28px;
  box-shadow: var(--shadow);
  transition: all .3s ease;
  position: relative; overflow: hidden;
  border: 2px solid transparent;
  display: block;
}
.service-card::before {
  content: ""; position: absolute; top: -60px; right: -60px;
  width: 150px; height: 150px; border-radius: 50%;
  opacity: .14; transition: all .35s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card:hover::before { transform: scale(1.4); }
.service-card .sv-icon {
  width: 62px; height: 62px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px; margin-bottom: 18px;
}
.service-card h3 { font-size: 20px; color: var(--dark); margin-bottom: 8px; }
.service-card p { color: var(--text-light); font-size: 13.5px; margin-bottom: 16px; }
.service-card .sv-link { font-weight: 700; font-size: 14px; }
.service-card .sv-arrow { transition: transform .25s; display: inline-block; }
.service-card:hover .sv-arrow { transform: translateX(6px); }
.sv-visual .sv-icon { background: #FFF0E8; }
.sv-visual::before { background: var(--primary); }
.sv-visual .sv-link { color: var(--primary); }
.sv-space .sv-icon { background: #E3F7FF; }
.sv-space::before { background: var(--blue); }
.sv-space .sv-link { color: var(--blue); }
.sv-product .sv-icon { background: #E5FAF3; }
.sv-product::before { background: var(--green); }
.sv-product .sv-link { color: #0B8F6E; }

/* ---------------- 信息卡片 ---------------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.info-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all .3s ease;
  display: flex; flex-direction: column;
}
.info-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-img {
  height: 200px;
  background-color: #E3ECF5;
  background-image: linear-gradient(135deg, #E3ECF5 0%, #F4F8FC 100%);
  background-size: cover; background-position: center;
  position: relative;
}
.card-img-empty {
  background: var(--grad-purple);
  display: flex; align-items: center; justify-content: center;
}
.card-img-empty span {
  color: rgba(255,255,255,.9); font-size: 18px; font-weight: 700; letter-spacing: 4px;
}
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.card-title { font-size: 16.5px; font-weight: 700; color: var(--dark); line-height: 1.45; margin-bottom: 10px; min-height: 48px; }
.card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.tag {
  font-size: 11.5px; padding: 2px 10px; border-radius: 999px;
  background: #EFF3FA; color: #4A586B;
}
.tag.t-blue { background: #E3F7FF; color: #0077B6; }
.tag.t-green { background: #E5FAF3; color: #0B8F6E; }
.tag.t-yellow { background: #FFF6E0; color: #B8860B; }
.tag.t-purple { background: #F0EBFF; color: #6D4FD8; }
.card-summary {
  color: var(--text-light); font-size: 13px; line-height: 1.7;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  margin-bottom: 12px; flex: 1;
}
.card-meta { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: #98A2B3; margin-bottom: 12px; }
.meta-pub { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 70%; }
.card-foot { display: flex; justify-content: space-between; align-items: center; border-top: 1px dashed var(--line); padding-top: 12px; }
.price { color: var(--primary); font-size: 20px; font-weight: 800; }
.price::before { content: "¥"; font-size: 14px; }
.card-btn { pointer-events: none; }

/* ---------------- 分页 ---------------- */
.pagination {
  margin-top: 40px; display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.page-info { font-size: 13px; color: var(--text-light); }
.page-info b { color: var(--primary); }
.page-btns { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; }
.page-btn {
  min-width: 38px; height: 38px; padding: 0 12px;
  border-radius: 10px; border: 1.5px solid var(--line);
  background: #fff; color: var(--text); font-size: 14px; cursor: pointer;
  transition: all .2s; font-family: inherit;
}
.page-btn:hover:not([disabled]) { border-color: var(--primary); color: var(--primary); }
.page-btn.active { background: var(--grad-main); color: #fff; border-color: transparent; font-weight: 700; box-shadow: 0 4px 12px rgba(255,107,53,.3); }
.page-btn[disabled] { opacity: .45; cursor: not-allowed; }
.page-ellipsis { color: var(--text-light); padding: 0 4px; }

/* ---------------- 列表页头图 ---------------- */
.page-hero {
  padding: 52px 0 44px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-hero h1 { font-size: 36px; font-weight: 800; margin-bottom: 10px; letter-spacing: 1px; }
.page-hero p { font-size: 15px; opacity: .95; max-width: 640px; }
.page-hero.hero-visual { background: linear-gradient(120deg, #FF5E3A, #FF8E53 55%, #FFC15E); }
.page-hero.hero-space { background: linear-gradient(120deg, #0077B6, #00B4D8 55%, #56CFE1); }
.page-hero.hero-product { background: linear-gradient(120deg, #0B9B77, #06D6A0 55%, #6BE3B8); }
.crumb {
  background: #fff; border-bottom: 1px solid var(--line); padding: 12px 0;
  font-size: 13px; color: var(--text-light);
}
.crumb a { color: var(--primary); }
.crumb a:hover { text-decoration: underline; }
.crumb .sep { margin: 0 8px; color: #C3CBD8; }

/* ---------------- 详情页 ---------------- */
.detail-wrap { padding: 40px 0 64px; }
.detail-layout { display: grid; grid-template-columns: 1fr 360px; gap: 30px; align-items: start; }
.detail-main {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  overflow: hidden;
}
.detail-img {
  height: 380px;
  background-size: cover; background-position: center;
  background-color: #E8EDF5;
}
.detail-img-empty {
  background: var(--grad-purple);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.9); font-size: 26px; font-weight: 800; letter-spacing: 6px;
}
.detail-body { padding: 30px 34px 36px; }
.detail-title { font-size: 27px; font-weight: 800; color: var(--dark); line-height: 1.4; margin-bottom: 14px; }
.detail-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.detail-meta-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 24px;
  background: #F7F9FC; border-radius: 12px; padding: 16px 20px; margin-bottom: 24px;
}
.detail-meta-grid .meta-item { display: flex; gap: 8px; font-size: 13.5px; }
.detail-meta-grid .meta-label { color: var(--text-light); flex-shrink: 0; }
.detail-meta-grid .meta-value { color: var(--text); font-weight: 500; word-break: break-all; }
.detail-section { margin-top: 26px; }
.detail-section h3 {
  font-size: 18px; font-weight: 700; color: var(--dark);
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
}
.detail-section h3::before {
  content: ""; width: 5px; height: 20px; border-radius: 4px;
  background: var(--grad-main); display: inline-block;
}
.detail-section .content-text { white-space: pre-wrap; color: #3D4A5C; font-size: 14.5px; line-height: 2; }

/* 付费遮罩 */
.pay-lock { position: relative; }
.pay-lock .lock-mask {
  position: absolute; inset: 0; z-index: 5;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.86) 55%, #fff 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  padding: 30px 20px 26px;
}
.lock-mask .lock-tip { font-size: 14px; color: var(--text-light); margin-bottom: 14px; text-align: center; }
.lock-mask .lock-price { font-size: 30px; font-weight: 800; color: var(--primary); margin-bottom: 4px; }
.lock-mask .lock-price small { font-size: 14px; font-weight: 500; color: var(--text-light); }

/* 侧栏 */
.detail-side { display: flex; flex-direction: column; gap: 24px; }
.side-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; }
.side-card h3 { font-size: 17px; font-weight: 700; color: var(--dark); margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.side-card h3::before { content: ""; width: 5px; height: 18px; border-radius: 4px; background: var(--grad-blue); }
.pay-card { background: var(--grad-main); color: #fff; text-align: center; }
.pay-card h3 { color: #fff; justify-content: center; }
.pay-card h3::before { display: none; }
.pay-card .pay-note { font-size: 13px; opacity: .92; margin-bottom: 14px; }
.pay-card .price-big { font-size: 44px; font-weight: 800; line-height: 1; margin: 8px 0 16px; }
.pay-card .price-big small { font-size: 16px; font-weight: 500; opacity: .9; }
.pay-card .btn-light {
  background: #fff; color: var(--primary); font-weight: 700;
  width: 100%; box-shadow: 0 8px 20px rgba(0,0,0,.16);
}
.pay-card .btn-light:hover { transform: translateY(-2px); }
.pay-card.unlocked { background: var(--grad-green); color: #0B3D33; }
.pay-card.unlocked .btn-light { color: #0B8F6E; }
.contact-list { font-size: 13.5px; }
.contact-list li { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.contact-list li:last-child { border-bottom: none; }
.contact-list .k { color: var(--text-light); }
.contact-list .v { font-weight: 600; color: var(--dark); }
.related-item {
  display: flex; gap: 14px; align-items: center;
  padding: 12px; border-radius: 12px;
  border: 1px solid var(--line);
  margin-bottom: 10px; transition: all .2s;
}
.related-item:hover { border-color: var(--primary); background: #FFF9F5; }
.related-item .ri-img {
  width: 86px; height: 62px; border-radius: 8px; flex-shrink: 0;
  background-size: cover; background-position: center;
  background-color: #EDF1F7;
}
.related-item .ri-img-empty { background: var(--grad-purple); }
.related-item .ri-title { font-size: 13.5px; font-weight: 600; color: var(--dark); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.related-item .ri-meta { font-size: 12px; color: var(--text-light); margin-top: 6px; }

/* ---------------- 表单页 ---------------- */
.auth-wrap { padding: 60px 0 80px; }
.auth-box {
  max-width: 460px; margin: 0 auto;
  background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.auth-head {
  background: var(--grad-main);
  color: #fff; text-align: center; padding: 32px 20px;
}
.auth-head h2 { font-size: 24px; font-weight: 800; margin-bottom: 6px; }
.auth-head p { font-size: 13px; opacity: .9; }
.auth-body { padding: 30px 36px 36px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13.5px; font-weight: 600; color: var(--dark); margin-bottom: 7px; }
.form-group label .req { color: var(--primary); margin-left: 2px; }
.form-control {
  width: 100%; padding: 11px 15px;
  border: 1.5px solid var(--line); border-radius: 10px;
  font-size: 14px; font-family: inherit;
  transition: all .2s; background: #FBFCFE;
}
.form-control:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,180,216,.12); background: #fff;
}
textarea.form-control { resize: vertical; min-height: 96px; line-height: 1.7; }
select.form-control { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #98A2B3 50%), linear-gradient(135deg, #98A2B3 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.form-check { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--text-light); margin: 6px 0 16px; }
.form-check input { margin-top: 3px; accent-color: var(--primary); }
.form-check a { color: var(--primary); }
.form-error { color: #E63946; font-size: 12.5px; margin-top: 5px; display: none; }
.form-group.has-error .form-control { border-color: #E63946; }
.form-group.has-error .form-error { display: block; }
.form-tip { text-align: center; font-size: 13px; color: var(--text-light); margin-top: 18px; }
.form-tip a { color: var(--primary); font-weight: 600; }
.field-hint { font-size: 12px; color: #98A2B3; margin-top: 4px; }

/* ---------------- 发布页 ---------------- */
.publish-wrap { padding: 44px 0 70px; }
.publish-layout { display: grid; grid-template-columns: 1fr 360px; gap: 30px; align-items: start; }
.panel { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px 30px; }
.panel-title { font-size: 19px; font-weight: 800; color: var(--dark); margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.panel-title::before { content: ""; width: 5px; height: 20px; border-radius: 4px; background: var(--grad-main); }
.upload-box {
  border: 2px dashed #C9D4E3; border-radius: 12px;
  padding: 22px; text-align: center; color: var(--text-light);
  cursor: pointer; transition: all .25s; background: #FAFCFE;
}
.upload-box:hover { border-color: var(--blue); background: #F0FAFD; color: var(--blue); }
.upload-box .up-icon { font-size: 34px; margin-bottom: 6px; }
.upload-box p { font-size: 13.5px; }
.upload-box small { font-size: 12px; opacity: .75; }
.upload-previews { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.upload-previews .up-item {
  width: 104px; height: 104px; border-radius: 10px; overflow: hidden;
  position: relative; border: 1.5px solid var(--line);
}
.upload-previews .up-item img { width: 100%; height: 100%; object-fit: cover; }
.upload-previews .up-item .up-del {
  position: absolute; top: 4px; right: 4px;
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(0,0,0,.55); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; cursor: pointer; border: none;
}
.fee-card { background: linear-gradient(160deg, #FFF6E0, #FFFDF5); border: 1.5px solid #FFE3B3; }
.fee-card h3 { color: #B8860B; }
.fee-card h3::before { background: linear-gradient(120deg, #FFD23F, #FF9F1C); }
.fee-item { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px dashed #F0D9A8; font-size: 14px; }
.fee-item:last-child { border-bottom: none; }
.fee-item .f-name { color: #6B5B2E; }
.fee-item .f-price { font-weight: 700; color: #B8860B; }
.fee-item .f-price.free { color: var(--green); }
.fee-note { font-size: 12.5px; color: #A08B5C; margin-top: 10px; line-height: 1.8; }
.pay-panel { background: var(--grad-blue); color: #fff; }
.pay-panel .panel-title { color: #fff; }
.pay-panel .panel-title::before { background: #fff; }
.pay-panel .pay-desc { font-size: 13.5px; opacity: .95; margin-bottom: 16px; line-height: 1.9; }
.pay-option {
  background: rgba(255,255,255,.16); border: 1.5px solid rgba(255,255,255,.35);
  border-radius: 12px; padding: 12px 14px; margin-bottom: 10px;
  cursor: pointer; transition: all .2s; color: #fff;
}
.pay-option:hover { background: rgba(255,255,255,.26); }
.pay-option .po-name { font-weight: 700; font-size: 14.5px; }
.pay-option .po-price { float: right; font-weight: 800; font-size: 15px; }

/* ---------------- 商家入驻 ---------------- */
.merchant-wrap { padding: 44px 0 70px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 34px; }
.step {
  background: #fff; border-radius: 14px; box-shadow: var(--shadow);
  padding: 20px 16px; text-align: center; position: relative;
}
.step .step-num {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--grad-main); color: #fff; font-weight: 800; font-size: 18px;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 12px;
  box-shadow: 0 4px 10px rgba(255,107,53,.3);
}
.step h4 { font-size: 15px; color: var(--dark); margin-bottom: 5px; }
.step p { font-size: 12.5px; color: var(--text-light); }
.merchant-form { max-width: 860px; margin: 0 auto; }
.agreement-bar { text-align: center; font-size: 13px; color: var(--text-light); margin-top: 16px; }
.agreement-bar a { color: var(--primary); }

/* ---------------- 协议/政策页 ---------------- */
.doc-wrap { padding: 40px 0 70px; }
.doc-box {
  max-width: 860px; margin: 0 auto;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 44px 52px;
}
.doc-box h1 { font-size: 28px; font-weight: 800; color: var(--dark); text-align: center; margin-bottom: 8px; }
.doc-box .doc-date { text-align: center; color: var(--text-light); font-size: 13px; margin-bottom: 30px; }
.doc-box h2 { font-size: 18px; font-weight: 700; color: var(--dark); margin: 28px 0 12px; padding-left: 12px; border-left: 4px solid var(--primary); }
.doc-box h3 { font-size: 15.5px; font-weight: 700; color: var(--dark-2); margin: 18px 0 8px; }
.doc-box p { font-size: 14px; color: #3D4A5C; line-height: 2; margin-bottom: 10px; text-indent: 0; }
.doc-box li { font-size: 14px; color: #3D4A5C; line-height: 2; padding-left: 8px; position: relative; }
.doc-box ul, .doc-box ol { padding-left: 22px; margin-bottom: 10px; }
.doc-box li::marker { color: var(--primary); }
.doc-bottom-bar { text-align: center; margin-top: 36px; }

/* ---------------- 平台优势 ---------------- */
.advantage-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.advantage-item {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 26px 22px; text-align: center; transition: all .3s;
}
.advantage-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.advantage-item .ad-icon {
  width: 58px; height: 58px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin: 0 auto 14px;
}
.advantage-item h4 { font-size: 16px; color: var(--dark); margin-bottom: 8px; }
.advantage-item p { font-size: 12.5px; color: var(--text-light); line-height: 1.7; }
.ad-1 .ad-icon { background: #FFF0E8; }
.ad-2 .ad-icon { background: #E3F7FF; }
.ad-3 .ad-icon { background: #E5FAF3; }
.ad-4 .ad-icon { background: #FFF6E0; }

/* ---------------- Toast ---------------- */
.dx-toast {
  position: fixed; top: 84px; left: 50%; transform: translate(-50%, -16px);
  background: #fff; border-radius: 12px;
  box-shadow: 0 12px 36px rgba(27,38,59,.18);
  display: flex; align-items: center; gap: 10px;
  padding: 12px 22px; font-size: 14px; font-weight: 500; color: var(--dark);
  opacity: 0; transition: all .3s ease; z-index: 9999;
  max-width: 80vw;
}
.dx-toast.show { opacity: 1; transform: translate(-50%, 0); }
.dx-toast i {
  width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-style: normal; font-size: 13px; font-weight: 800;
}
.dx-toast-success i { background: var(--green); }
.dx-toast-error i { background: #E63946; }
.dx-toast-info i { background: var(--blue); }

/* ---------------- 空状态 ---------------- */
.empty-box { text-align: center; padding: 70px 0; color: var(--text-light); }
.empty-box .empty-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: #EDF1F7; display: flex; align-items: center; justify-content: center;
  font-size: 28px; margin: 0 auto 14px; color: #A8B3C4;
}

/* ---------------- 加载状态 ---------------- */
.loading-box { text-align: center; padding: 60px 0; color: var(--text-light); }
.loading-box .spinner {
  width: 34px; height: 34px; margin: 0 auto 12px;
  border: 3px solid #E3E9F2; border-top-color: var(--primary);
  border-radius: 50%; animation: dx-spin .8s linear infinite;
}
@keyframes dx-spin { to { transform: rotate(360deg); } }

/* ---------------- 页面底部CTA ---------------- */
.cta-band {
  background: var(--grad-main); color: #fff;
  text-align: center; padding: 52px 20px; border-radius: 24px;
  position: relative; overflow: hidden;
}
.cta-band h2 { font-size: 30px; font-weight: 800; margin-bottom: 12px; }
.cta-band p { font-size: 15px; opacity: .95; margin-bottom: 22px; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1024px) {
  .service-grid, .card-grid { grid-template-columns: repeat(2, 1fr); }
  .advantage-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-layout, .publish-layout { grid-template-columns: 1fr; }
  .detail-side { flex-direction: row; flex-wrap: wrap; }
  .detail-side .side-card { flex: 1; min-width: 240px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .header-inner { flex-wrap: wrap; height: auto; padding: 12px 0; gap: 10px; }
  .site-nav { order: 3; width: 100%; overflow-x: auto; padding-bottom: 4px; }
  .site-nav a { white-space: nowrap; }
  .service-grid, .card-grid { grid-template-columns: 1fr; }
  .hero-slider { height: 380px; }
  .hero-slide h2 { font-size: 30px; }
  .hero-slide p { font-size: 14.5px; }
  .section { padding: 40px 0; }
  .section-head h2 { font-size: 25px; }
  .footer-main { flex-direction: column; gap: 24px; }
  .doc-box { padding: 28px 22px; }
  .detail-body { padding: 22px 20px; }
  .detail-img { height: 240px; }
  .auth-body { padding: 24px 22px; }
}
