/* ============================================================
   小云桌 · 移动端官网  (v1 · 占位素材)
   品牌：米白底 + 天蓝涂鸦 · 松弛手绘风
   ============================================================ */

:root {
  --cream:        #F8F2E6;
  --cream-soft:   #FDF8EE;
  --cream-card:   #FFFFFF;
  --ink:          #232020;
  --ink-soft:     #5E574E;
  --blue:         #76CFE6;
  --blue-deep:    #2E9DBB;
  --blue-soft:    #CFEBF4;
  --blue-bubble:  #BDE6F1;
  --blue-line:    #56C2DC;
  --blue-ink:     #14617A;
  --shadow:       0 10px 30px -16px rgba(46,157,187,.45);
  --radius:       22px;
  --radius-sm:    14px;
  --maxw:         460px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 70px; -webkit-text-size-adjust: 100%; }

body {
  font-family: "Noto Sans SC", system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.75;
  font-size: 15px;
  overflow-x: hidden;
}

h1, h2, h3, h4, .kicker, .nav__name, .footer__name {
  font-family: "ZCOOL KuaiLe", "Noto Sans SC", sans-serif;
  font-weight: 400;
  letter-spacing: .5px;
}

a { color: inherit; text-decoration: none; }
b { font-weight: 700; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

.squiggle { width: 150px; height: 11px; display: block; margin: 6px 0 12px; }

/* ---------- 通用按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 12px 22px; border-radius: 999px; font-size: 15px; font-weight: 500;
  border: 2px solid var(--blue-line); background: var(--cream-card); color: var(--blue-ink);
  cursor: pointer; transition: transform .15s ease, background .15s ease;
}
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--blue); border-color: var(--blue); color: var(--ink); box-shadow: var(--shadow); }
.btn--primary:hover { background: var(--blue-deep); border-color: var(--blue-deep); color: #fff; }

/* ---------- 顶部导航 ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 18px; max-width: var(--maxw); margin: 0 auto;
  background: rgba(248,242,230,.82); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(86,194,220,.25);
}
.nav__brand { display: flex; align-items: center; gap: 8px; }
.logo-cloud { width: 34px; height: auto; }
.logo-cloud--lg { width: 56px; }
.nav__name { font-size: 19px; }
.nav__toggle { display: flex; flex-direction: column; gap: 4px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { width: 22px; height: 2.4px; background: var(--ink); border-radius: 2px; transition: .25s; }
.nav.open .nav__toggle span:nth-child(1) { transform: translateY(6.4px) rotate(45deg); }
.nav.open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.open .nav__toggle span:nth-child(3) { transform: translateY(-6.4px) rotate(-45deg); }

.nav__menu {
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--cream-soft); border-bottom: 1px solid rgba(86,194,220,.25);
  display: flex; flex-direction: column; padding: 8px 18px 16px;
  transform: translateY(-8px); opacity: 0; pointer-events: none; transition: .22s;
}
.nav.open .nav__menu { transform: translateY(0); opacity: 1; pointer-events: auto; }
.nav__menu a { padding: 11px 4px; border-bottom: 1px dashed rgba(86,194,220,.3); font-size: 15px; }
.nav__menu a:last-child { border-bottom: 0; }
.nav__cta { color: var(--blue-ink); font-weight: 700; }

/* ---------- Hero ---------- */
.hero { padding: 0; position: relative; }
.hero__eyebrow { color: var(--blue-deep); font-size: 13px; letter-spacing: 1.5px; margin-bottom: 8px; }
.hero__title { font-size: 34px; line-height: 1.3; color: var(--blue-deep); }
.hero__sub { color: var(--ink-soft); font-size: 16px; margin-bottom: 20px; }

.pillars { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 6px; }
.bubble {
  position: relative; display: inline-block; padding: 9px 18px;
  background: var(--blue-bubble); color: var(--ink); border-radius: 18px 18px 18px 4px;
  font-size: 15px; font-weight: 500; border: 2px solid var(--blue-line);
}
.bubble--lg { background: var(--blue); padding: 11px 22px; font-size: 16px; }

.hero__art { position: relative; height: 180px; margin: 6px 0 4px; }
.doodle { position: absolute; }
.doodle--robot { right: 6px; bottom: 0; width: 104px; }
.doodle--cloud { left: 4px; bottom: 14px; width: 120px; }
.hero__btn { margin-top: 6px; }

/* ---------- Section 通用 ---------- */
.section { padding: 40px 0; position: relative; }
.section--soft { background: var(--cream-soft); }
.kicker {
  display: inline-block; background: var(--blue-soft); color: var(--blue-ink);
  font-size: 13px; padding: 3px 12px; border-radius: 999px; margin-bottom: 10px;
}
.h2 { font-size: 27px; line-height: 1.35; margin-bottom: 10px; }
.h3 { font-size: 19px; margin-bottom: 8px; }
.h3.mt { margin-top: 28px; }
.lead { color: var(--ink-soft); margin-bottom: 18px; }
.muted { color: var(--ink-soft); font-size: 14px; margin: 14px 0 8px; }
.note { color: var(--ink-soft); font-size: 13px; margin-top: 14px; padding-left: 14px; border-left: 3px solid var(--blue); }

.value-list { list-style: none; margin: 4px 0 26px; }
.value-list li { position: relative; padding-left: 22px; margin-bottom: 10px; color: var(--ink-soft); }
.value-list .dot { position: absolute; left: 0; top: 9px; width: 10px; height: 10px; border-radius: 50%; background: var(--blue); }

.row-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.row-nav { display: flex; gap: 8px; }
.row-arrow {
  width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--blue-line);
  background: var(--cream-card); color: var(--blue-ink); font-size: 20px; line-height: 1; cursor: pointer;
}
.row-arrow:active { transform: scale(.94); }

/* ---------- 横向滚动容器 ---------- */
.scroller {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 16px 22px 8px; scroll-padding-left: 22px; -webkit-overflow-scrolling: touch;
  scrollbar-width: none; max-width: var(--maxw); margin: 0 auto;
}
.scroller::-webkit-scrollbar { display: none; }

/* 产品卡 */
.pcard {
  scroll-snap-align: start; flex: 0 0 220px;
  background: var(--cream-card); border: 2px solid var(--blue-line); border-radius: var(--radius);
  padding: 18px; cursor: pointer; transition: transform .15s ease; display: flex; flex-direction: column;
}
.pcard:active { transform: translateY(2px); }
.pcard__tag { align-self: flex-start; background: var(--blue-soft); color: var(--blue-ink); font-size: 12px; padding: 3px 10px; border-radius: 999px; margin-bottom: 12px; }
.pcard__title { font-size: 17px; line-height: 1.5; margin-bottom: 8px; }
.pcard__desc { color: var(--ink-soft); font-size: 13.5px; flex: 1; }
.pcard__more { color: var(--blue-deep); font-size: 13px; margin-top: 14px; font-weight: 500; }

/* ---------- 卡片 / 价值观 ---------- */
.card { background: var(--cream-card); border: 2px solid var(--blue-line); border-radius: var(--radius); padding: 20px; }
.card p { color: var(--ink-soft); margin-bottom: 6px; }
.card p b { color: var(--ink); }

.logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 8px; margin-top: 6px; }
.logos span {
  background: var(--cream-card); border: 1.5px solid var(--blue-soft); color: var(--ink-soft);
  font-size: 12.5px; padding: 0 6px; border-radius: 12px; height: 48px;
  display: flex; align-items: center; justify-content: center; text-align: center; line-height: 1.2;
}

.values { display: flex; flex-direction: column; gap: 12px; }
.value-card { background: var(--cream-card); border: 2px solid var(--blue-soft); border-radius: var(--radius-sm); padding: 16px 18px; position: relative; }
.value-no { font-family: "ZCOOL KuaiLe"; color: var(--blue); font-size: 22px; position: absolute; right: 16px; top: 12px; }
.value-card h4 { font-family: "ZCOOL KuaiLe"; font-weight: 400; font-size: 18px; margin-bottom: 4px; }
.value-card p { color: var(--ink-soft); font-size: 14px; }

.quotes { display: flex; flex-direction: column; gap: 14px; }
.quote { background: var(--cream-card); border: 2px solid var(--blue-soft); border-radius: var(--radius-sm); padding: 16px 18px; display: flex; align-items: center; gap: 14px; }
.quote__text { flex: 1; min-width: 0; }
.quote blockquote { font-size: 15px; margin: 0 0 6px; color: var(--ink); }
.quote figcaption { color: var(--ink-soft); font-size: 13px; }
.ph-avatar {
  width: 48px; height: 48px; border-radius: 50%; background: var(--blue-soft);
  border: 2px dashed var(--blue-line); display: flex; align-items: center; justify-content: center;
  color: var(--blue-ink); font-size: 12px;
}

.photos-scroll {
  display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
  margin: 6px -22px 0; padding: 4px 22px 10px; scroll-padding-left: 22px;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.photos-scroll::-webkit-scrollbar { display: none; }
.ph-photo {
  flex: 0 0 78%; scroll-snap-align: start; height: 190px;
  border-radius: var(--radius-sm); background: var(--blue-soft);
  border: 2px dashed var(--blue-line); display: flex; align-items: center; justify-content: center;
  color: var(--blue-ink); font-size: 13px; text-align: center; padding: 8px;
}

/* ---------- 海报截图（首屏 / 求职小灶 直接贴图） ---------- */
.poster-fig { margin: 0 -22px; }
.poster-fig--in { margin: 0 -22px 22px; }
#products { padding-top: 0; }
#products > .wrap > .poster-fig--in { margin-top: 0; }
.poster { width: 100%; display: block; }
.poster-ph {
  min-height: 280px; margin: 0 22px; padding: 22px; gap: 10px;
  flex-direction: column; align-items: center; justify-content: center; text-align: center;
  background: var(--cream-soft); border: 2px dashed var(--blue-line); border-radius: var(--radius);
  color: var(--blue-ink); font-size: 14px; line-height: 1.8;
}
.poster-ph code { background: var(--cream); border: 1px solid var(--blue-soft); padding: 3px 9px; border-radius: 7px; font-size: 12.5px; }

/* ---------- 定价 ---------- */
.price-list { display: flex; flex-direction: column; gap: 14px; }
.price-card { background: var(--cream-card); border: 2px solid var(--blue-line); border-radius: var(--radius); overflow: hidden; }
.price-card__head { padding: 18px 20px; cursor: pointer; display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.price-card__t { font-family: "ZCOOL KuaiLe"; font-size: 20px; margin-bottom: 4px; }
.price-card__fit { color: var(--ink-soft); font-size: 13.5px; }
.price-card__price { flex: 0 0 auto; text-align: right; }
.price-card__amt { color: var(--blue-deep); font-family: "ZCOOL KuaiLe"; font-size: 18px; white-space: nowrap; }
.price-card__chev { color: var(--blue-deep); font-size: 13px; display: inline-block; }
.price-card__body { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.price-card.open .price-card__body { max-height: 620px; }
.price-card__body-inner { padding: 0 20px 18px; color: var(--ink-soft); font-size: 14px; border-top: 1px dashed var(--blue-soft); margin-top: 0; padding-top: 14px; }

/* ---------- 胜利时刻截图卡 ---------- */
.wcard {
  scroll-snap-align: start; flex: 0 0 200px; height: 280px;
  background: var(--cream-card); border: 2px solid var(--blue-soft); border-radius: var(--radius);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  color: var(--blue-ink); text-align: center; padding: 18px;
}
.wcard .ph-tag { background: var(--blue-soft); border: 2px dashed var(--blue-line); border-radius: 12px; padding: 8px 14px; font-size: 13px; }

/* ---------- 活动卡 ---------- */
.acard {
  scroll-snap-align: start; flex: 0 0 230px; cursor: pointer;
  background: var(--cream-card); border: 2px solid var(--blue-line); border-radius: var(--radius);
  overflow: hidden; transition: transform .15s ease; display: flex; flex-direction: column;
}
.acard:active { transform: translateY(2px); }
.acard__cover { height: 110px; background: var(--blue-bubble); display: flex; align-items: center; justify-content: center; }
.acard__cover svg { width: 64px; height: 64px; }
.acard__body { padding: 16px 18px; }
.acard__title { font-family: "ZCOOL KuaiLe"; font-size: 19px; margin-bottom: 6px; }
.acard__desc { color: var(--ink-soft); font-size: 13.5px; }
.acard__more { color: var(--blue-deep); font-size: 13px; margin-top: 12px; font-weight: 500; }

/* ---------- 收尾文案 ---------- */
.closing { padding: 46px 0; text-align: center; background: var(--cream-soft); }
.closing p { color: var(--ink); font-size: 16px; margin-bottom: 14px; line-height: 1.9; }
.closing p:last-child { color: var(--blue-deep); }

/* ---------- 报名表单 ---------- */
.section--signup { background: var(--cream); }
.form { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field span { font-size: 14px; font-weight: 500; }
.field i { color: var(--blue-deep); font-style: normal; }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 15px; color: var(--ink);
  background: var(--cream-card); border: 2px solid var(--blue-soft); border-radius: var(--radius-sm);
  padding: 12px 14px; outline: none; transition: border-color .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue-line); }
.field textarea { resize: vertical; }
.field.invalid input, .field.invalid select { border-color: #E48; }
.form__submit { margin-top: 6px; }
.form__hint { color: var(--ink-soft); font-size: 12.5px; text-align: center; }

.form__done { text-align: center; padding: 30px 10px; background: var(--cream-card); border: 2px solid var(--blue-line); border-radius: var(--radius); margin-top: 8px; }
.form__done-emoji { margin-bottom: 10px; }
.form__done p { color: var(--ink-soft); margin: 8px 0 18px; }

/* ---------- 页脚 ---------- */
.footer { text-align: center; padding: 38px 0 90px; background: var(--cream-soft); border-top: 1px solid rgba(86,194,220,.25); }
.footer__name { font-size: 22px; margin-top: 8px; }
.footer__en { color: var(--blue-deep); font-size: 12px; letter-spacing: 2px; }
.footer__tag { color: var(--ink-soft); margin: 12px 0; }
.footer__copy { color: var(--ink-soft); font-size: 12px; }

/* ---------- 右下角悬浮社交 ---------- */
.fab { position: fixed; right: 16px; bottom: 18px; z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.fab__btn {
  width: 58px; height: 58px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--blue); box-shadow: var(--shadow); display: flex; align-items: center; justify-content: center;
  transition: transform .2s;
}
.fab__btn:active { transform: scale(.92); }
.fab.open .fab__btn { transform: rotate(8deg); }
.fab__panel { display: flex; flex-direction: column; gap: 10px; animation: pop .2s ease; }
.fab__panel[hidden] { display: none; }
@keyframes pop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.fab__link {
  display: flex; align-items: center; gap: 10px; background: var(--cream-card);
  border: 2px solid var(--blue-line); border-radius: 16px; padding: 10px 14px; font-size: 13px; line-height: 1.3;
  box-shadow: var(--shadow);
}
.fab__ico { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 15px; font-family: "ZCOOL KuaiLe"; flex: 0 0 auto; }
.fab__ico--red { background: #FF2E4D; }
.fab__ico--blue { background: var(--blue-deep); }

/* ---------- 弹层 ---------- */
.modal { position: fixed; inset: 0; z-index: 80; display: flex; align-items: flex-end; justify-content: center; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(35,32,32,.45); }
.modal__card {
  position: relative; width: 100%; max-width: var(--maxw); max-height: 86vh; overflow-y: auto;
  background: var(--cream); border-radius: 26px 26px 0 0; padding: 26px 22px 30px;
  animation: slideup .26s ease;
}
@keyframes slideup { from { transform: translateY(40px); opacity: .6; } to { transform: translateY(0); opacity: 1; } }
.modal__close { position: absolute; right: 16px; top: 14px; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--blue-soft); background: var(--cream-card); font-size: 20px; color: var(--ink-soft); cursor: pointer; }
.modal__body h3 { font-size: 23px; margin-bottom: 6px; }
.modal__body .m-tag { display: inline-block; background: var(--blue-soft); color: var(--blue-ink); font-size: 12px; padding: 3px 11px; border-radius: 999px; margin-bottom: 14px; }
.modal__body p { color: var(--ink-soft); margin-bottom: 12px; }
.modal__body .m-sub { font-family: "ZCOOL KuaiLe"; color: var(--ink); font-size: 16px; margin: 16px 0 8px; }
.modal__body ul { list-style: none; }
.modal__body li { position: relative; padding-left: 16px; margin-bottom: 7px; color: var(--ink-soft); font-size: 14px; }
.modal__body li::before { content: ""; position: absolute; left: 0; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.modal__body .m-ph { background: var(--cream-soft); border: 2px dashed var(--blue-soft); border-radius: 12px; padding: 10px 14px; font-size: 13px; color: var(--blue-ink); }

/* ---------- 入场动画 ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- 桌面端：居中成手机列 ---------- */
@media (min-width: 620px) {
  body { background: #EFE6D4; }
  .nav, main, .footer { background-clip: padding-box; }
  main, .nav { box-shadow: 0 0 60px -20px rgba(0,0,0,.18); }
  body > * { background-color: var(--cream); }
}
