/* ========== 云美卓施工门户 · DeepSeek 简洁风 ========== */
:root {
  --primary: #4d6bfe;
  --primary-hover: #3b5bf0;
  --primary-soft: #eef1ff;
  --text: #1d2129;
  --text-2: #4e5969;
  --text-3: #86909c;
  --border: #e8ebf2;
  --bg: #f7f8fb;
  --card: #ffffff;
  --radius: 14px;
  --shadow: 0 1px 3px rgba(20, 30, 60, 0.05);
  --shadow-hover: 0 6px 20px rgba(77, 107, 254, 0.10);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

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

.app { display: flex; min-height: 100vh; }

/* ========== 侧边栏 ========== */
.sidebar {
  width: 248px;
  flex-shrink: 0;
  background: #fff;
  border-right: 1px solid var(--border);
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
}

.brand { display: flex; align-items: center; gap: 10px; padding: 4px 8px 18px; }
.brand-logo {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, #5b76ff, #3b5bf0);
  color: #fff; font-size: 19px; font-weight: 700;
  display: grid; place-items: center;
}
.brand-name { font-size: 15px; font-weight: 700; }
.brand-sub { font-size: 12px; color: var(--text-3); }

.nav { flex: 1; overflow-y: auto; }
.nav-group {
  font-size: 12px; color: var(--text-3);
  padding: 14px 10px 6px; letter-spacing: .5px;
}
.nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px; border-radius: 9px;
  color: var(--text-2); text-decoration: none;
  cursor: pointer; transition: background .15s, color .15s;
  font-size: 13.5px;
}
.nav-item:hover { background: var(--primary-soft); color: var(--primary); }
.nav-icon { width: 18px; height: 18px; display: inline-block; background: currentColor; -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.nav-tag {
  margin-left: auto; font-style: normal; font-size: 11px;
  color: var(--text-3); background: #f2f3f7; border-radius: 6px; padding: 1px 7px;
}
.sidebar-foot {
  font-size: 12px; color: var(--text-3); text-align: center;
  padding: 12px 0 4px; border-top: 1px solid var(--border);
}

/* ========== 主区域 ========== */
.main { flex: 1; min-width: 0; padding: 0 40px 40px; max-width: 1280px; }

.topbar {
  display: flex; justify-content: space-between; align-items: center;
  height: 60px; position: sticky; top: 0; z-index: 10;
  background: rgba(247, 248, 251, .9); backdrop-filter: blur(8px);
}
.topbar-domain { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--text-2); font-size: 13px; }
.topbar-status {
  display: flex; align-items: center; gap: 7px;
  font-size: 13px; color: var(--text-2);
  background: #fff; border: 1px solid var(--border);
  padding: 5px 12px; border-radius: 999px;
}
.topbar-status .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #f7a23b; box-shadow: 0 0 0 3px rgba(247, 162, 59, .15);
  animation: pulse 1.8s infinite;
}
@keyframes pulse { 50% { opacity: .45; } }

/* ========== Hero ========== */
.hero {
  background: linear-gradient(180deg, #fff 0%, #fafbff 100%);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 48px 44px 36px;
  margin-top: 12px;
  text-align: center;
}
.hero-badge {
  display: inline-block; font-size: 13px; color: var(--primary);
  background: var(--primary-soft); border-radius: 999px; padding: 5px 16px;
  margin-bottom: 18px;
}
.hero-title { font-size: 34px; font-weight: 700; letter-spacing: .5px; }
.hero-desc {
  max-width: 680px; margin: 14px auto 0; color: var(--text-2); font-size: 15px;
}
.hero-tags { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }
.hero-tags span {
  font-size: 13px; color: var(--text-2); background: #fff;
  border: 1px solid var(--border); border-radius: 999px; padding: 4px 14px;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; margin-top: 26px; }
.btn {
  font-size: 14px; border-radius: 10px; padding: 10px 22px;
  border: 1px solid transparent; cursor: not-allowed; font-weight: 500;
}
.btn-primary { background: #b9c4ff; color: #fff; }
.btn-ghost { background: #fff; border-color: var(--border); color: var(--text-3); }

/* 路线图 */
.roadmap {
  list-style: none; display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 14px; margin-top: 36px; text-align: left;
}
.roadmap li {
  display: flex; gap: 10px; align-items: flex-start;
  background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 14px;
}
.roadmap i {
  width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; font-style: normal; font-size: 13px;
  background: #f0f2f7; color: var(--text-3); font-weight: 600;
}
.roadmap b { display: block; font-size: 13.5px; }
.roadmap span { font-size: 12px; color: var(--text-3); }
.roadmap li.done i { background: #e6faf0; color: #16a34a; }
.roadmap li.active { border-color: var(--primary); box-shadow: var(--shadow-hover); }
.roadmap li.active i { background: var(--primary); color: #fff; }

/* ========== 卡片 ========== */
.section-title { font-size: 18px; margin: 34px 4px 16px; }
.grid { display: grid; gap: 16px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px;
  box-shadow: var(--shadow);
  transition: transform .18s, box-shadow .18s, border-color .18s;
  scroll-margin-top: 80px;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: #d6deff; }
.card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.card-icon {
  width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
}
.card-icon { background-color: var(--primary-soft); }
.card-icon::before {
  content: ""; width: 20px; height: 20px; background: currentColor;
  -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}
.icon-blue { background: #eef1ff; color: #4d6bfe; }
.icon-violet { background: #f3efff; color: #7c5cfc; }
.icon-teal { background: #e8f8f4; color: #0fa58b; }
.icon-amber { background: #fff5e6; color: #e8930c; }
.icon-rose { background: #ffeff3; color: #e54d7e; }
.icon-slate { background: #eef1f5; color: #5b6b80; }

.card h3 { font-size: 16px; margin-bottom: 6px; }
.card-desc { color: var(--text-3); font-size: 13px; min-height: 40px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.chips li {
  font-size: 12px; color: var(--text-2);
  background: #f5f6fa; border-radius: 7px; padding: 3px 9px;
}

.dev-badge {
  font-size: 11.5px; color: #b07d12; background: #fdf3df;
  border: 1px solid #f5e2b3; border-radius: 999px; padding: 2px 10px;
  white-space: nowrap;
}

/* ========== 说明 / 页脚 ========== */
.notice {
  margin-top: 30px; background: #fff; border: 1px dashed #cfd8f5;
  border-radius: var(--radius); padding: 20px 24px;
}
.notice h3 { font-size: 15px; margin-bottom: 6px; }
.notice p { color: var(--text-2); font-size: 13.5px; }

.footer {
  display: flex; justify-content: space-between;
  color: var(--text-3); font-size: 12.5px;
  padding: 28px 6px 0;
}

/* ========== 内联 SVG 图标（mask） ========== */
[data-icon="image"] { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='9' cy='9' r='2'/%3E%3Cpath d='m21 15-3.5-3.5a2 2 0 0 0-2.8 0L6 20'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='9' cy='9' r='2'/%3E%3Cpath d='m21 15-3.5-3.5a2 2 0 0 0-2.8 0L6 20'/%3E%3C/svg%3E"); }
[data-icon="video"] { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m22 8-6 4 6 4V8Z'/%3E%3Crect x='2' y='6' width='14' height='12' rx='2'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m22 8-6 4 6 4V8Z'/%3E%3Crect x='2' y='6' width='14' height='12' rx='2'/%3E%3C/svg%3E"); }
[data-icon="clip"] { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='6' cy='6' r='3'/%3E%3Ccircle cx='6' cy='18' r='3'/%3E%3Cline x1='20' y1='4' x2='8.12' y2='15.88'/%3E%3Cline x1='14.47' y1='14.48' x2='20' y2='20'/%3E%3Cline x1='8.12' y1='8.12' x2='12' y2='12'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='6' cy='6' r='3'/%3E%3Ccircle cx='6' cy='18' r='3'/%3E%3Cline x1='20' y1='4' x2='8.12' y2='15.88'/%3E%3Cline x1='14.47' y1='14.48' x2='20' y2='20'/%3E%3Cline x1='8.12' y1='8.12' x2='12' y2='12'/%3E%3C/svg%3E"); }
[data-icon="paint"] { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18.37 2.63 14 7l-1.59-1.59a2 2 0 0 0-2.83 0L8 7l9 9 1.59-1.59a2 2 0 0 0 0-2.83L17 10l4.37-4.37a2.12 2.12 0 1 0-3-3Z'/%3E%3Cpath d='M9 8c-2 3-4 3.5-7 4l8 10c2-1 6-5 6-7'/%3E%3Cpath d='M14.5 17.5 4.5 15'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18.37 2.63 14 7l-1.59-1.59a2 2 0 0 0-2.83 0L8 7l9 9 1.59-1.59a2 2 0 0 0 0-2.83L17 10l4.37-4.37a2.12 2.12 0 1 0-3-3Z'/%3E%3Cpath d='M9 8c-2 3-4 3.5-7 4l8 10c2-1 6-5 6-7'/%3E%3Cpath d='M14.5 17.5 4.5 15'/%3E%3C/svg%3E"); }
[data-icon="cloud"] { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17.5 19a4.5 4.5 0 1 0 0-9h-1.8A7 7 0 1 0 4 16.9'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17.5 19a4.5 4.5 0 1 0 0-9h-1.8A7 7 0 1 0 4 16.9'/%3E%3C/svg%3E"); }
[data-icon="gift"] { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='8' width='18' height='4' rx='1'/%3E%3Cpath d='M12 8v13M19 12v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-7'/%3E%3Cpath d='M7.5 8a2.5 2.5 0 0 1 0-5C11 3 12 8 12 8s1-5 4.5-5a2.5 2.5 0 0 1 0 5'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='8' width='18' height='4' rx='1'/%3E%3Cpath d='M12 8v13M19 12v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-7'/%3E%3Cpath d='M7.5 8a2.5 2.5 0 0 1 0-5C11 3 12 8 12 8s1-5 4.5-5a2.5 2.5 0 0 1 0 5'/%3E%3C/svg%3E"); }
[data-icon="shield"] { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10Z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10Z'/%3E%3C/svg%3E"); }
[data-icon="user"] { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E"); }

/* ========== 响应式 ========== */
@media (max-width: 1100px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .roadmap { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 820px) {
  .sidebar { display: none; }
  .main { padding: 0 18px 28px; }
  .hero { padding: 28px 18px; }
  .hero-title { font-size: 23px; line-height: 1.35; word-break: keep-all; }
  .hero-desc { font-size: 14px; }
  .grid-4 { grid-template-columns: 1fr; }
  .roadmap { grid-template-columns: 1fr; }
}
