:root {
  --ink: #10131a;
  --paper: #f5f1e8;
  --line: rgba(16,19,26,.14);
  --muted: #68707d;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }

.demo-banner {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 42px;
  padding: 9px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: #e8ebef;
  background: #10131a;
  font-size: 11px;
  text-align: center;
}
.demo-banner strong { color: #d8ff62; }
.demo-banner a { padding-bottom: 2px; border-bottom: 1px solid rgba(255,255,255,.5); }

@media (max-width: 620px) {
  .demo-banner { font-size: 10px; gap: 8px; }
}

/* Brand website demo */
.brand-demo {
  --forest: #1f3b30;
  --cream: #f4eddf;
  --earth: #b56f43;
  background: var(--cream);
  color: var(--forest);
}
.brand-nav {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(31,59,48,.18);
}
.brand-logo { font-family: "STSong", "Songti SC", serif; font-size: 24px; letter-spacing: .12em; }
.brand-logo small { display: block; margin-top: 1px; font-family: inherit; font-size: 8px; letter-spacing: .35em; }
.brand-nav nav { display: flex; gap: 34px; font-size: 12px; }
.brand-nav .book-link { padding: 10px 19px; border: 1px solid var(--forest); border-radius: 999px; }
.brand-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  align-items: stretch;
  background: var(--forest);
  color: white;
}
.brand-hero-copy {
  padding: 110px max(44px, calc((100vw - 1180px) / 2));
  padding-right: 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.brand-hero-copy small { font-size: 10px; letter-spacing: .35em; }
.brand-hero-copy h1 {
  max-width: 620px;
  margin: 28px 0 20px;
  font-family: "STSong", "Songti SC", serif;
  font-size: clamp(56px, 7vw, 94px);
  line-height: 1.06;
  font-weight: 400;
  letter-spacing: .04em;
}
.brand-hero-copy p { max-width: 510px; color: rgba(255,255,255,.72); font-size: 14px; }
.scroll-hint { margin-top: 60px; display: flex; align-items: center; gap: 14px; font-size: 10px; letter-spacing: .15em; }
.scroll-hint::before { content: ""; width: 42px; height: 1px; background: rgba(255,255,255,.55); }
.brand-hero-art {
  min-height: 690px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(13,35,27,.08), rgba(13,35,27,.72)),
    radial-gradient(circle at 64% 18%, #9ab09e 0 15%, transparent 15.2%),
    linear-gradient(160deg, transparent 0 43%, #5e7867 43.2% 55%, transparent 55.2%),
    linear-gradient(200deg, transparent 0 48%, #426052 48.2% 75%, transparent 75.2%),
    linear-gradient(180deg,#9fb4a1,#617d6d);
}
.brand-hero-art::before,
.brand-hero-art::after {
  content: "";
  position: absolute;
  border-radius: 46% 54% 38% 62%;
  background: rgba(28,60,46,.72);
}
.brand-hero-art::before { width: 500px; height: 240px; left: -100px; bottom: -80px; transform: rotate(-7deg); }
.brand-hero-art::after { width: 420px; height: 180px; right: -120px; bottom: 70px; transform: rotate(13deg); }
.art-caption {
  position: absolute;
  right: 26px;
  bottom: 34px;
  z-index: 2;
  color: rgba(255,255,255,.74);
  font-size: 9px;
  letter-spacing: .22em;
  writing-mode: vertical-rl;
}
.brand-intro {
  width: min(1050px, calc(100% - 48px));
  margin: 0 auto;
  padding: 120px 0;
  display: grid;
  grid-template-columns: .6fr 1fr;
  gap: 80px;
}
.brand-intro aside { font-size: 10px; letter-spacing: .24em; }
.brand-intro h2 { margin: 0; font-family: "STSong", "Songti SC", serif; font-size: clamp(34px, 4.5vw, 58px); line-height: 1.35; font-weight: 400; }
.brand-intro p { margin: 24px 0 0; color: #5b665f; font-size: 14px; }
.room-section { padding: 100px 22px; background: #e8dfcf; }
.room-heading { width: min(1050px, 100%); margin: 0 auto 40px; display: flex; align-items: end; justify-content: space-between; }
.room-heading h2 { margin: 0; font-family: "STSong", "Songti SC", serif; font-size: 42px; font-weight: 400; }
.room-heading a { font-size: 11px; border-bottom: 1px solid var(--forest); }
.room-grid { width: min(1050px, 100%); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.room-card { background: #f7f1e7; }
.room-image { height: 270px; position: relative; overflow: hidden; }
.room-image::before { content: ""; position: absolute; inset: 16%; border: 1px solid rgba(255,255,255,.38); }
.room-image.one { background: linear-gradient(145deg,#597667,#b6bba3); }
.room-image.two { background: linear-gradient(145deg,#9c7964,#dfc4a9); }
.room-image.three { background: linear-gradient(145deg,#6a7d84,#b5c1bf); }
.room-body { padding: 24px; }
.room-body h3 { margin: 0; font-family: "STSong", "Songti SC", serif; font-size: 23px; font-weight: 400; }
.room-body p { margin: 8px 0 20px; color: #7b7167; font-size: 11px; }
.room-meta { display: flex; justify-content: space-between; border-top: 1px solid rgba(31,59,48,.16); padding-top: 15px; font-size: 10px; }
.brand-story {
  padding: 130px 22px;
  color: #f2eadf;
  background: #1c3028;
  text-align: center;
}
.brand-story small { font-size: 9px; letter-spacing: .3em; }
.brand-story blockquote { max-width: 760px; margin: 32px auto; font-family: "STSong", "Songti SC", serif; font-size: clamp(40px, 6vw, 74px); line-height: 1.3; font-weight: 400; }
.brand-story p { max-width: 520px; margin: 0 auto; color: rgba(255,255,255,.62); font-size: 13px; }
.brand-footer { padding: 60px 22px; text-align: center; border-top: 1px solid rgba(31,59,48,.15); font-size: 11px; }

/* Service business demo */
.service-demo {
  --blue: #5875e8;
  --navy: #15213f;
  --wash: #edf1ff;
  background: #fbfaf6;
  color: var(--navy);
}
.service-nav { width: min(1120px, calc(100% - 44px)); margin: 0 auto; height: 90px; display: flex; align-items: center; justify-content: space-between; }
.service-logo { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 900; }
.service-logo span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: #fff; background: var(--blue); }
.service-nav nav { display: flex; align-items: center; gap: 30px; font-size: 12px; }
.service-nav .nav-cta { padding: 10px 18px; border-radius: 10px; color: #fff; background: var(--navy); }
.service-hero { width: min(1120px, calc(100% - 44px)); margin: 38px auto 0; display: grid; grid-template-columns: 1.12fr .88fr; gap: 28px; }
.service-hero-copy { min-height: 620px; padding: 76px 62px; border-radius: 28px; background: var(--wash); position: relative; overflow: hidden; }
.service-hero-copy::after { content: ""; position: absolute; width: 280px; height: 280px; right: -80px; bottom: -80px; border-radius: 50%; background: rgba(88,117,232,.14); }
.service-kicker { margin: 0 0 20px; font-size: 11px; font-weight: 900; color: var(--blue); letter-spacing: .14em; }
.service-hero h1 { max-width: 650px; margin: 0; font-size: clamp(48px, 6vw, 76px); line-height: 1.12; letter-spacing: -.055em; }
.service-hero-copy > p { max-width: 530px; color: #5d6781; font-size: 14px; }
.service-proof { display: flex; gap: 28px; margin-top: 56px; }
.service-proof span { font-size: 11px; color: #5d6781; }
.service-proof strong { display: block; color: var(--navy); font-size: 18px; }
.booking-card { padding: 34px; border-radius: 28px; color: #fff; background: var(--navy); align-self: center; }
.booking-card h2 { margin: 0 0 8px; font-size: 26px; }
.booking-card > p { margin: 0 0 24px; color: #acb7d3; font-size: 12px; }
.booking-form { display: grid; gap: 11px; }
.booking-form label { display: grid; gap: 6px; font-size: 10px; color: #c4cce0; }
.booking-form input, .booking-form select { width: 100%; padding: 12px; border: 1px solid rgba(255,255,255,.14); border-radius: 9px; color: #fff; background: rgba(255,255,255,.07); outline: 0; font-size: 12px; }
.booking-form select option { color: #111; }
.booking-form button { margin-top: 7px; padding: 13px; border: 0; border-radius: 9px; color: #fff; background: var(--blue); font-weight: 900; cursor: pointer; }
.booking-status { min-height: 20px; margin: 4px 0 0; color: #d8ff62; font-size: 11px; }
.service-process { width: min(1120px, calc(100% - 44px)); margin: 110px auto; }
.service-process-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 34px; }
.service-process-head h2 { margin: 0; font-size: 38px; letter-spacing: -.04em; }
.service-process-head p { margin: 0; color: #6f7890; font-size: 12px; }
.process-cards { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.process-card { min-height: 245px; padding: 25px; border: 1px solid #dfe2ea; border-radius: 18px; background: #fff; }
.process-card span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; color: var(--blue); background: var(--wash); font-size: 10px; font-weight: 900; }
.process-card h3 { margin: 45px 0 10px; font-size: 18px; }
.process-card p { margin: 0; color: #707990; font-size: 11px; }
.service-cta { width: min(1120px, calc(100% - 44px)); margin: 0 auto 80px; padding: 60px; border-radius: 28px; display: flex; align-items: center; justify-content: space-between; gap: 30px; background: linear-gradient(120deg,#dce4ff,#edf1ff); }
.service-cta h2 { max-width: 620px; margin: 0; font-size: 37px; line-height: 1.2; letter-spacing: -.04em; }
.service-cta a { flex: none; padding: 14px 22px; border-radius: 11px; color: #fff; background: var(--navy); font-size: 12px; font-weight: 900; }

/* Internal system demo */
.system-demo { background: #eef1f5; color: #1a2230; font-family: "Microsoft YaHei", "PingFang SC", sans-serif; }
.system-shell { min-height: calc(100vh - 42px); display: grid; grid-template-columns: 230px 1fr; }
.system-sidebar { padding: 28px 18px; color: #dfe5ee; background: #171d28; display: flex; flex-direction: column; }
.system-logo { display: flex; align-items: center; gap: 10px; padding: 0 10px 28px; font-size: 15px; font-weight: 900; }
.system-logo span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; color: #111; background: #d8ff62; }
.system-nav { display: grid; gap: 5px; }
.system-nav button { border: 0; padding: 11px 12px; border-radius: 8px; text-align: left; color: #aeb8c6; background: transparent; font-size: 11px; cursor: pointer; }
.system-nav button.active { color: #fff; background: #2a3342; }
.system-user { margin-top: auto; padding: 15px 10px 0; border-top: 1px solid #2e3745; display: flex; align-items: center; gap: 9px; font-size: 10px; }
.system-avatar { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(145deg,#7e94ff,#a2b4ff); }
.system-main { min-width: 0; padding: 28px 34px 50px; }
.system-topbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.system-topbar h1 { margin: 0; font-size: 24px; letter-spacing: -.03em; }
.system-topbar p { margin: 4px 0 0; color: #778191; font-size: 11px; }
.system-actions { display: flex; gap: 9px; }
.system-actions button { padding: 10px 14px; border: 1px solid #d6dbe3; border-radius: 8px; background: #fff; font-size: 10px; cursor: pointer; }
.system-actions .primary { color: #10131a; border-color: #d8ff62; background: #d8ff62; font-weight: 900; }
.stats-grid { margin-top: 28px; display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.stat-card { padding: 19px; border: 1px solid #dfe3e9; border-radius: 12px; background: #fff; }
.stat-card span { color: #778191; font-size: 10px; }
.stat-card strong { display: block; margin: 5px 0; font-size: 26px; letter-spacing: -.04em; }
.stat-card small { color: #419965; font-size: 9px; }
.system-grid { margin-top: 18px; display: grid; grid-template-columns: minmax(0,1.6fr) minmax(260px,.7fr); gap: 14px; }
.panel { border: 1px solid #dfe3e9; border-radius: 13px; background: #fff; overflow: hidden; }
.panel-head { padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #e8ebef; }
.panel-head h2 { margin: 0; font-size: 14px; }
.panel-head select { border: 1px solid #dfe3e9; border-radius: 7px; padding: 6px 9px; background: #f7f8fa; font-size: 9px; }
.task-table { width: 100%; border-collapse: collapse; }
.task-table th, .task-table td { padding: 14px 18px; border-bottom: 1px solid #eef0f3; text-align: left; font-size: 10px; }
.task-table th { color: #7b8491; font-weight: 600; background: #fafbfc; }
.task-table td:first-child { font-weight: 800; }
.badge { display: inline-flex; padding: 4px 7px; border-radius: 999px; font-size: 8px; font-weight: 800; }
.badge.doing { color: #3158b6; background: #e9efff; }
.badge.review { color: #9d6720; background: #fff2d9; }
.badge.done { color: #2c7e50; background: #e4f5eb; }
.badge.blocked { color: #a43d35; background: #fde9e6; }
.activity-list { padding: 5px 19px 16px; }
.activity-item { padding: 14px 0; border-bottom: 1px solid #eef0f3; display: grid; grid-template-columns: 28px 1fr; gap: 10px; }
.activity-item:last-child { border-bottom: 0; }
.activity-icon { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 8px; color: #4562c8; background: #edf1ff; font-size: 9px; font-weight: 900; }
.activity-item strong { display: block; font-size: 10px; }
.activity-item p { margin: 3px 0; color: #667080; font-size: 9px; }
.activity-item small { color: #9aa1ac; font-size: 8px; }
.system-week { margin-top: 14px; }
.week-bars { height: 180px; padding: 20px; display: flex; align-items: end; gap: 10px; }
.week-bars span { flex: 1; min-width: 10px; border-radius: 5px 5px 0 0; background: #b9c6ff; }
.week-bars span:nth-child(2n) { background: #d8ff62; }

@media (max-width: 960px) {
  .brand-hero, .service-hero { grid-template-columns: 1fr; }
  .brand-hero-art { min-height: 420px; }
  .brand-intro { grid-template-columns: 1fr; gap: 28px; }
  .room-grid, .process-cards { grid-template-columns: 1fr 1fr; }
  .service-hero-copy { min-height: auto; padding: 60px 38px; }
  .booking-card { max-width: 620px; }
  .system-shell { grid-template-columns: 78px 1fr; }
  .system-sidebar { padding: 24px 10px; }
  .system-logo { justify-content: center; padding: 0 0 24px; }
  .system-logo strong, .system-nav button span, .system-user span { display: none; }
  .system-nav button { text-align: center; padding: 12px 4px; }
  .system-user { justify-content: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .system-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .brand-nav, .service-nav { width: calc(100% - 28px); }
  .brand-nav nav, .service-nav nav a:not(.nav-cta) { display: none; }
  .brand-hero-copy { padding: 80px 24px; }
  .brand-hero h1 { font-size: 58px; }
  .brand-intro { padding: 85px 0; }
  .room-grid, .process-cards { grid-template-columns: 1fr; }
  .room-heading { align-items: start; flex-direction: column; gap: 15px; }
  .service-hero { width: calc(100% - 28px); margin-top: 18px; }
  .service-hero-copy { padding: 45px 24px; border-radius: 20px; }
  .service-hero h1 { font-size: 48px; }
  .service-proof { flex-wrap: wrap; gap: 18px; }
  .booking-card { padding: 24px 20px; border-radius: 20px; }
  .service-process { width: calc(100% - 28px); margin: 80px auto; }
  .service-process-head { align-items: start; flex-direction: column; gap: 15px; }
  .service-cta { width: calc(100% - 28px); padding: 35px 24px; align-items: flex-start; flex-direction: column; }
  .service-cta h2 { font-size: 30px; }
  .system-main { padding: 22px 14px 40px; }
  .system-shell { grid-template-columns: 60px minmax(0,1fr); }
  .system-sidebar { padding: 18px 6px; }
  .system-topbar { align-items: flex-start; flex-direction: column; }
  .system-actions { width: 100%; }
  .system-actions button { flex: 1; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .task-table thead { display: none; }
  .task-table, .task-table tbody { display: block; }
  .task-table tr {
    padding: 15px 16px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 14px;
    border-bottom: 1px solid #eef0f3;
  }
  .task-table tr:last-child { border-bottom: 0; }
  .task-table td { display: block; padding: 0; border: 0; }
  .task-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 2px;
    color: #929aa6;
    font-size: 8px;
    font-weight: 600;
  }
  .task-table td:first-child {
    grid-column: 1 / -1;
    font-size: 13px;
  }
  .task-table td:first-child::before { display: none; }
}
