:root {
  --bg: #eef3ff;
  --bg-2: #f6f0ff;
  --surface: rgba(255, 255, 255, 0.86);
  --card: #ffffff;
  --text: #1b2437;
  --muted: #7b8499;
  --line: rgba(80, 110, 180, 0.1);
  --blue: #3d74ff;
  --blue-2: #5b8cff;
  --purple: #7b6cff;
  --green: #22c55e;
  --shadow: 0 10px 30px rgba(62, 96, 180, 0.08);
  --radius: 22px;
  --safe-bottom: 78px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  background:
    radial-gradient(1200px 600px at 50% -10%, #dbe7ff 0%, transparent 55%),
    linear-gradient(180deg, #edf3ff 0%, #f7f4ff 42%, #f4f7ff 100%);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

button, input, textarea { font-family: inherit; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.app-shell {
  min-height: 100%;
  display: flex;
  justify-content: center;
}
.app-shell { position: relative; }
.phone {
  width: 100%;
  max-width: 430px;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(420px 280px at 80% -40px, rgba(167, 139, 250, 0.18), transparent 60%),
    radial-gradient(380px 240px at 0% 80px, rgba(96, 165, 250, 0.22), transparent 62%),
    #eef3ff;
}
.phone.with-tab { padding-bottom: 92px; }

.status-bar {
  height: 44px;
  padding: 12px 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
  font-weight: 700;
  color: #111827;
}
.status-bar .icons { display: flex; gap: 6px; align-items: center; font-size: 13px; }

.page { padding: 0 18px 24px; }

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(145deg, #5d8dff, #4a6fff);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  padding: 7px;
  box-shadow: 0 8px 16px rgba(61, 116, 255, 0.25);
}
.logo-mark i {
  display: block;
  background: #fff;
  border-radius: 3px;
}
.brand h1 {
  font-size: 18px;
  letter-spacing: 0.5px;
}
.brand small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
  margin-top: 1px;
}
.icon-btn {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.7);
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  color: #334155;
  cursor: pointer;
}
.sub-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 4px 10px;
}
.sub-nav .title {
  flex: 1;
  text-align: center;
  font-size: 17px;
  font-weight: 700;
}

.hero-title {
  margin: 18px 0 8px;
  font-size: 34px;
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: 0.5px;
}
.hero-sub {
  color: #64748b;
  font-size: 13px;
  margin-bottom: 18px;
}

.search-box {
  height: 48px;
  border-radius: 16px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.8);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  color: #94a3b8;
  cursor: pointer;
}
.search-box input {
  border: 0;
  outline: 0;
  background: transparent;
  width: 100%;
  font-size: 14px;
  color: var(--text);
}

.section {
  margin-top: 26px;
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.section-head h3 {
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.more {
  font-size: 13px;
  color: var(--muted);
}

.feature-card {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(67, 97, 180, 0.12);
  position: relative;
}
.feature-cover {
  height: 168px;
  position: relative;
  background: linear-gradient(135deg, #12315f, #1e4d8c 45%, #2a6ad4);
}
.hot-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: linear-gradient(90deg, #ff8a3d, #ff5d5d);
  color: #fff;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 999px;
  font-weight: 700;
}
.feature-body { padding: 14px 16px 16px; }
.feature-app {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.app-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  flex-shrink: 0;
  font-size: 20px;
}
.app-icon.blue { background: linear-gradient(145deg, #5b8cff, #3d74ff); }
.feature-app h4 { font-size: 16px; }
.feature-app p { font-size: 12px; color: var(--muted); margin-top: 2px; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; margin: 10px 0 12px; }
.tag {
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #eef4ff;
  color: #4b6ed6;
}
.tag.green { background: #ecfdf3; color: #16a34a; }
.tag.orange { background: #fff4e8; color: #ea7a1a; }
.tag.purple { background: #f3eeff; color: #7c5cbf; }
.primary-btn, .ghost-btn, .claim-btn {
  border: 0;
  cursor: pointer;
}
.claim-btn {
  width: 100%;
  height: 42px;
  border-radius: 14px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  background: linear-gradient(90deg, #4f80ff, #6a8bff);
  box-shadow: 0 8px 18px rgba(61, 116, 255, 0.28);
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px 8px;
}
.cat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #334155;
}
.cat-icon {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: #fff;
  box-shadow: var(--shadow);
  font-size: 22px;
}

.latest-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.mini-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.mini-cover { height: 86px; }
.mini-card .meta { padding: 10px; }
.mini-card h4 { font-size: 13px; }
.mini-card p { font-size: 11px; color: var(--muted); margin-top: 3px; }

.chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0 12px;
  scrollbar-width: none;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex-shrink: 0;
  border: 0;
  height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.8);
  color: #64748b;
  font-size: 13px;
  cursor: pointer;
}
.chip.active {
  background: linear-gradient(90deg, #4e7dff, #6a8cff);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 6px 14px rgba(61,116,255,.25);
}

.page-title {
  font-size: 30px;
  font-weight: 800;
  margin: 8px 0 4px;
}
.page-desc {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 12px;
}

.soft-list { display: flex; flex-direction: column; gap: 12px; }
.soft-card {
  background: #fff;
  border-radius: 20px;
  padding: 14px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 12px;
}
.soft-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 24px;
}
.soft-card h4 { font-size: 16px; }
.soft-card .desc { font-size: 12px; color: var(--muted); margin: 3px 0 8px; line-height: 1.45; }
.soft-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.stats { font-size: 11px; color: #94a3b8; }
.detail-btn {
  height: 30px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #4e7dff, #6a8cff);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.tabbar {
  position: absolute;
  left: 0;
  right: 0;
  transform: none;
  bottom: 0;
  width: 100%;
  max-width: none;
  height: 72px;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(148,163,184,.15);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-bottom: 8px;
  z-index: 20;
}
.tab {
  border: 0;
  background: transparent;
  color: #94a3b8;
  font-size: 11px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  cursor: pointer;
}
.tab svg { width: 22px; height: 22px; }
.tab.active { color: #3d74ff; font-weight: 700; }
.tab .mid {
  width: 44px;
  height: 44px;
  margin-top: -18px;
  border-radius: 50%;
  background: linear-gradient(180deg, #5b8cff, #3d74ff);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 16px rgba(61,116,255,.35);
}

.cover-hero {
  margin: 0 -18px;
  height: 230px;
  position: relative;
  overflow: hidden;
}
.cover-hero .play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.play-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  border: 2px solid rgba(255,255,255,.7);
  color: #fff;
  display: grid;
  place-items: center;
  backdrop-filter: blur(6px);
}
.pager {
  position: absolute;
  right: 14px;
  bottom: 14px;
  background: rgba(15,23,42,.45);
  color: #fff;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 999px;
}

.detail-head { display: flex; gap: 12px; margin-top: 16px; }
.detail-head h2 { font-size: 22px; }
.stars { color: #f59e0b; font-size: 13px; margin: 4px 0; }
.intro, .block-text { font-size: 13px; color: #52607a; line-height: 1.7; }
.feat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.feat-card {
  background: #fff;
  border-radius: 18px;
  padding: 14px;
  box-shadow: var(--shadow);
}
.feat-card .ic { font-size: 20px; margin-bottom: 8px; }
.feat-card h4 { font-size: 14px; }
.feat-card p { font-size: 12px; color: var(--muted); margin-top: 4px; }
.shot-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
}
.shot {
  width: 160px;
  height: 96px;
  border-radius: 14px;
  flex-shrink: 0;
  overflow: hidden;
}

.bottom-bar {
  position: absolute;
  left: 0;
  right: 0;
  transform: none;
  bottom: 0;
  width: 100%;
  max-width: none;
  background: rgba(255,255,255,.95);
  display: flex;
  gap: 10px;
  padding: 10px 16px 18px;
  box-shadow: 0 -8px 24px rgba(15,23,42,.06);
  z-index: 21;
}
.side-act {
  width: 48px;
  border: 0;
  background: transparent;
  color: #64748b;
  font-size: 11px;
  cursor: pointer;
}
.main-cta {
  flex: 1;
  height: 46px;
  border: 0;
  border-radius: 16px;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  background: linear-gradient(90deg, #4c7dff, #6f8dff);
  box-shadow: 0 10px 20px rgba(61,116,255,.28);
  cursor: pointer;
}

.claim-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px 0 8px;
  text-align: center;
}
.claim-hero .big-icon {
  width: 74px;
  height: 74px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 32px;
  margin-bottom: 12px;
  background: linear-gradient(145deg, #5b8cff, #3d74ff);
  box-shadow: 0 12px 24px rgba(61,116,255,.28);
}
.choice-card {
  background: #fff;
  border-radius: 22px;
  padding: 16px;
  box-shadow: var(--shadow);
  margin-bottom: 12px;
}
.choice-card h4 { font-size: 16px; margin-bottom: 4px; }
.choice-card p { font-size: 12px; color: var(--muted); margin-bottom: 12px; }
.tips {
  background: #fff;
  border-radius: 22px;
  padding: 16px;
  box-shadow: var(--shadow);
}
.tips h4 { margin-bottom: 10px; }
.tips li {
  list-style: none;
  font-size: 13px;
  color: #52607a;
  display: flex;
  gap: 8px;
  margin: 8px 0;
}

.case-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.case-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.case-thumb {
  height: 110px;
  position: relative;
}
.duration {
  position: absolute;
  right: 8px;
  bottom: 8px;
  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 8px;
}
.case-card .meta { padding: 10px; }
.case-card h4 { font-size: 13px; }
.case-card p { font-size: 11px; color: var(--muted); margin-top: 3px; }
.meta-row { display: flex; justify-content: space-between; color: #94a3b8; font-size: 11px; margin-top: 8px; }

.me-hero {
  margin: 0 -18px;
  padding: 18px 18px 70px;
  background:
    linear-gradient(180deg, rgba(238,243,255,.2), rgba(238,243,255,.92)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 220'%3E%3Cpath fill='%2394c0ea' d='M0 150c40-30 80-10 120-28 40-18 70-50 110-48 40 2 70 40 110 38 40-2 50-30 60-20v128H0z'/%3E%3Cpath fill='%2378b0e4' d='M0 170c50-20 90-40 140-36s80 34 130 28 70-30 130-18v76H0z'/%3E%3C/svg%3E")
    center bottom / cover no-repeat;
}
.quote {
  text-align: center;
  color: #2b5ea8;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.45;
  padding-top: 18px;
  text-shadow: 0 6px 18px rgba(255,255,255,.8);
}
.quote span { display: block; font-size: 14px; font-weight: 600; margin-top: 8px; color: #3d6fb3; }
.me-card {
  margin-top: -46px;
  background: rgba(255,255,255,.92);
  border-radius: 24px;
  padding: 18px;
  box-shadow: var(--shadow);
  text-align: center;
}
.avatar {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  margin: -38px auto 10px;
  background: linear-gradient(145deg, #5b8cff, #3d74ff);
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 10px 20px rgba(61,116,255,.28);
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #eef4ff;
  color: #3d74ff;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  margin: 6px 0 8px;
}
.me-card .bio { font-size: 13px; color: var(--muted); }
.stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  margin-top: 16px;
}
.stat-row strong { display: block; font-size: 18px; color: #3d74ff; }
.stat-row span { font-size: 11px; color: var(--muted); }
.menu-list {
  margin-top: 14px;
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.menu-item {
  width: 100%;
  border: 0;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  text-align: left;
  cursor: pointer;
  border-bottom: 1px solid #f1f5f9;
}
.menu-item:last-child { border-bottom: 0; }
.menu-ic {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 16px;
}
.menu-item b { display: block; font-size: 14px; }
.menu-item small { color: var(--muted); font-size: 12px; }
.menu-item .arrow { margin-left: auto; color: #cbd5e1; }

.form-card {
  background: #fff;
  border-radius: 22px;
  padding: 16px;
  box-shadow: var(--shadow);
}
.banner-card {
  background: linear-gradient(135deg, #e8f0ff, #efe9ff);
  border-radius: 22px;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.banner-card h3 { font-size: 18px; color: #2b4ea3; }
.banner-card p { font-size: 12px; color: #64748b; margin-top: 4px; }
label { display: block; font-size: 13px; font-weight: 700; margin: 12px 0 8px; }
label em { color: #ef4444; font-style: normal; }
.field, .area {
  width: 100%;
  border: 1px solid #e8eef8;
  background: #f8fbff;
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 14px;
  outline: none;
}
.area { min-height: 110px; resize: vertical; }
.radios { display: flex; flex-wrap: wrap; gap: 8px; }
.radio {
  border: 1px solid #e5edf9;
  background: #fff;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  cursor: pointer;
}
.radio input { display: none; }
.radio.on, .radio:has(input:checked) {
  background: #eef4ff;
  color: #3d74ff;
  border-color: #c9d9ff;
  font-weight: 700;
}
.submit {
  width: 100%;
  height: 48px;
  margin-top: 18px;
  border: 0;
  border-radius: 16px;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  background: linear-gradient(90deg, #4c7dff, #6f8dff);
  cursor: pointer;
}
.counter {
  text-align: center;
  color: #3d74ff;
  font-size: 13px;
  margin-top: 12px;
}

.contact-hero h2 { font-size: 24px; }
.contact-hero p { color: var(--muted); margin: 6px 0 14px; }
.check-list { font-size: 14px; color: #334155; }
.check-list div { display: flex; gap: 8px; margin: 8px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.contact-btn {
  background: #fff;
  border-radius: 20px;
  padding: 18px 10px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 0;
  cursor: pointer;
}
.contact-btn .logo {
  width: 48px; height: 48px; border-radius: 16px; margin: 0 auto 8px;
  display: grid; place-items: center; color: #fff; font-size: 22px;
}
.quote-box {
  margin-top: 18px;
  text-align: center;
  color: #64748b;
  font-size: 13px;
  line-height: 1.7;
}

.toast {
  position: absolute;
  left: 50%;
  bottom: 96px;
  transform: translateX(-50%);
  background: rgba(15,23,42,.88);
  color: #fff;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 13px;
  z-index: 50;
  display: none;
  white-space: nowrap;
}
.modal {
  position: absolute;
  inset: 0;
  background: rgba(15,23,42,.72);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 60;
  padding: 20px;
}
.modal.show { display: flex; }
.modal img, .modal video, .modal .panel {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 16px;
}
.modal .panel {
  background: #fff;
  padding: 20px;
  width: 100%;
  max-width: 360px;
}

.dash {
  background:
    linear-gradient(180deg, rgba(15,35,70,.15), rgba(15,35,70,.08)),
    repeating-linear-gradient(90deg, transparent 0 28px, rgba(94,196,255,.08) 28px 29px),
    linear-gradient(135deg, #0d2a55, #163e7e 50%, #1f63c7);
}
.chart-bars {
  position: absolute;
  left: 18px; right: 18px; bottom: 18px; top: 36px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
}
.chart-bars span {
  flex: 1;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, #7cf0ff, #3b82f6);
  opacity: .9;
}

.video-thumb {
  background: linear-gradient(135deg, #1d4ed8, #7c3aed);
  display: grid;
  place-items: center;
  color: #fff;
}

.admin-entry {
  position: fixed;
  right: 12px;
  bottom: 84px;
  z-index: 30;
  font-size: 12px;
  background: #fff;
  border: 0;
  border-radius: 999px;
  padding: 8px 12px;
  box-shadow: var(--shadow);
  cursor: pointer;
  color: #64748b;
}

@media (min-width: 860px) {
  body { padding: 24px 0; }
  .phone {
    min-height: 860px;
    height: 900px;
    max-width: 390px;
    border-radius: 36px;
    border: 10px solid #0f172a;
    box-shadow: 0 30px 80px rgba(15,23,42,.2);
    overflow: auto;
  }
}
@media (max-width: 859px) {
  .tabbar, .bottom-bar { position: fixed; max-width: 430px; left: 50%; transform: translateX(-50%); }
}
