/* LongBot 官网。配色照用户给的参考：藏青 #0F1B3D + 白 + 亮粉 #FF3D8B（粉只给按钮和重点）。
   字阶 13/16/20/25/31/39/49/61，间距 4px 栅格，圆角 12 / 24 两档。不引境外字体。 */
:root {
  --navy: #0F1B3D;
  --navy-2: #0B1532;
  --navy-3: #16244F;
  --white: #FFFFFF;
  --paper: #F6F7FB;
  --pink: #FF3D8B;
  --pink-2: #E62E79;
  --pink-soft: rgba(255, 61, 139, .14);
  --on-dark: rgba(255, 255, 255, .74);
  --on-dark-2: rgba(255, 255, 255, .56);
  --line-dark: rgba(255, 255, 255, .12);
  --ink: #0F1B3D;
  --ink-2: #3E4867;
  --ink-3: #6B7391;
  --line: #E3E6EF;
  --r1: 12px;
  --r2: 24px;
  --sh1: 0 1px 2px rgba(15, 27, 61, .06);
  --sh2: 0 12px 32px rgba(15, 27, 61, .14);
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; min-width: 0; font: 16px/1.7 var(--font); color: var(--white); background: var(--navy); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.2; letter-spacing: -.01em; }
p { margin: 0; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; min-width: 0; }
.ic { width: 20px; height: 20px; flex: none; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); color: var(--navy); padding: 8px 12px; border-radius: var(--r1); z-index: 99; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; }
.br-m { display: none; }

/* 按钮：高 48，圆胶囊；粉色只这一个主按钮 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 24px; border-radius: 999px; font: 600 16px/1 var(--font); text-decoration: none; border: 0; cursor: pointer; transition: transform .15s ease-out, background-color .15s ease-out, opacity .15s ease-out; white-space: nowrap; }
.btn:active { transform: scale(.98); }
.btn-pink { background: var(--pink); color: var(--white); box-shadow: 0 8px 24px rgba(255, 61, 139, .32); }
.btn-pink:hover { background: var(--pink-2); }
.btn-ghost { color: var(--white); border: 1px solid var(--line-dark); background: rgba(255, 255, 255, .04); }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-3); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 15px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: default; }

/* 导航 */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(15, 27, 61, .82); backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s ease-out; }
.nav.scrolled { border-bottom-color: var(--line-dark); }
.nav-in { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; font-size: 20px; letter-spacing: -.01em; }
.brand img { border-radius: 8px; }
.nav-links { display: flex; gap: 32px; margin: 0 auto; }
.nav-links a { text-decoration: none; color: var(--on-dark); font-size: 15px; padding: 8px 0; }
.nav-links a:hover { color: var(--white); }
.nav-act { display: flex; align-items: center; gap: 16px; }
.nav-login { text-decoration: none; color: var(--on-dark); font-size: 15px; padding: 8px 4px; }
.nav-login:hover { color: var(--white); }

/* 首屏 */
.hero { position: relative; overflow: hidden; padding: 64px 0 48px; background:
  radial-gradient(60% 50% at 50% 62%, rgba(255, 61, 139, .16), transparent 70%), var(--navy); }
.hero-in { text-align: center; display: flex; flex-direction: column; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px 0 4px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line-dark); font-size: 13px; color: var(--on-dark); }
.pill-tag { height: 24px; padding: 0 8px; border-radius: 999px; background: var(--white); color: var(--navy); font-weight: 700; font-size: 13px; line-height: 24px; }
.hero h1 { margin-top: 24px; font-size: 61px; font-weight: 800; letter-spacing: -.02em; }
.hl { position: relative; color: var(--pink); white-space: nowrap; }
.hl::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: -.08em; height: .22em; background: no-repeat center / 100% 100% url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M3 14 C 50 4, 120 4, 197 10' fill='none' stroke='%23FF3D8B' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E"); opacity: .9; }
.lead { margin-top: 24px; max-width: 34em; font-size: 20px; line-height: 1.65; color: var(--on-dark); }
.hero-cta { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

.stage { position: relative; width: min(540px, 86vw); margin-top: 40px; }
.glow { position: absolute; inset: 10% 6% 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 228, 170, .22), rgba(255, 61, 139, .10) 60%, transparent); filter: blur(8px); }
.mascot { position: relative; width: 100%; height: auto; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .35)); animation: breathe 4.8s ease-in-out infinite; transform-origin: 50% 90%; }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.012) translateY(-2px); } }
.float { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: var(--r1); background: var(--white); color: var(--navy); font-size: 13px; font-weight: 600; box-shadow: var(--sh2); white-space: nowrap; animation: rise .6s ease-out backwards; }
.float .ic { width: 16px; height: 16px; color: var(--pink); }
.f1 { left: -12%; top: 18%; animation-delay: .25s; }
.f2 { right: -14%; top: 6%; animation-delay: .4s; }
.f3 { right: -6%; bottom: 10%; animation-delay: .55s; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) { .mascot, .float { animation: none; } }

/* 5 件事：横排，放不下就横滑（自己滚，不撑宽页面） */
.scenes-wrap { margin-top: 48px; min-width: 0; }
.scenes-title { font-size: 13px; letter-spacing: .08em; color: var(--on-dark-2); text-align: center; }
.scenes { list-style: none; margin: 16px auto 0; padding: 0 24px 8px; max-width: 1160px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.scenes li { display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: var(--r1); background: rgba(255, 255, 255, .04); border: 1px solid var(--line-dark); min-width: 0; }
.scenes .ic { color: var(--pink); margin-bottom: 4px; }
.scenes b { font-size: 16px; }
.scenes span { font-size: 13px; line-height: 1.6; color: var(--on-dark); }

/* 浅色区块（白和藏青交替，两个颜色撑起整站） */
.light { background: var(--paper); color: var(--ink); padding: 96px 0; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--pink-2); }
.eyebrow.on-dark { color: var(--pink); }
h2 { margin-top: 12px; font-size: 39px; font-weight: 800; }
.sub { margin-top: 16px; max-width: 36em; font-size: 16px; color: var(--ink-2); }
.sub.on-dark { color: var(--on-dark); }

.courses { margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.course { background: var(--white); border-radius: var(--r2); padding: 32px; box-shadow: var(--sh1); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; scroll-margin-top: 80px; }
.course header { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.tag { display: inline-flex; height: 28px; align-items: center; padding: 0 12px; border-radius: 999px; background: var(--paper); color: var(--ink-2); font-size: 13px; font-weight: 600; }
.tag-pink { background: var(--pink-soft); color: var(--pink-2); }
.course h3 { font-size: 25px; font-weight: 800; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 16px; color: var(--ink-3); font-size: 15px; }
.facts span { display: inline-flex; align-items: center; gap: 4px; }
.facts .ic { width: 16px; height: 16px; }
.for { color: var(--ink-2); }
.agenda, .modules { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.agenda li, .modules li { display: grid; grid-template-columns: 48px 1fr; gap: 8px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--ink-2); line-height: 1.6; }
.agenda b, .modules b { color: var(--ink); font-variant-numeric: tabular-nums; }
.takeaway { font-size: 15px; color: var(--ink-2); background: var(--paper); border-radius: var(--r1); padding: 12px 16px; }
.takeaway b { color: var(--ink); margin-right: 8px; }
.course .btn { align-self: flex-start; margin-top: 8px; }

/* 定制部署 */
.deploy { padding: 96px 0; background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%); overflow: hidden; }
.deploy-in { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.deploy h2 { color: var(--white); }
.feats { list-style: none; margin: 32px 0; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.feats li { display: flex; gap: 16px; align-items: flex-start; }
.feats .ic { margin-top: 4px; width: 24px; height: 24px; color: var(--pink); }
.feats b { display: block; font-size: 16px; }
.feats span { display: block; font-size: 15px; color: var(--on-dark); line-height: 1.6; }
.deploy-shot { position: relative; padding-top: 56px; min-width: 0; }
.peek { position: absolute; width: 200px; height: auto; left: 32px; top: 0; z-index: 2; filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .35)); }
.win { margin: 0; position: relative; border-radius: var(--r1); overflow: hidden; background: var(--white); box-shadow: 0 24px 64px rgba(0, 0, 0, .45); border: 1px solid var(--line-dark); }
.win-bar { display: flex; gap: 8px; padding: 12px 16px; background: #EEF0F5; }
.win-bar i { width: 12px; height: 12px; border-radius: 50%; background: #D3D7E2; }
.win img { width: 100%; height: auto; aspect-ratio: 1600 / 1047; object-fit: cover; }
.phone { position: absolute; right: -16px; bottom: -32px; width: 34%; margin: 0; border-radius: 28px; overflow: hidden; border: 6px solid #0A0F22; box-shadow: 0 24px 48px rgba(0, 0, 0, .5); background: var(--white); }
.phone img { width: 100%; height: auto; aspect-ratio: 700 / 1522; object-fit: cover; }

/* 合作流程 */
.steps { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.steps li { background: var(--white); border-radius: var(--r2); padding: 24px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.steps .n { font-size: 13px; font-weight: 800; color: var(--pink-2); font-variant-numeric: tabular-nums; }
.steps b { font-size: 20px; }
.steps span:not(.n) { color: var(--ink-2); font-size: 15px; line-height: 1.6; }
.selftest { margin-top: 24px; border-radius: var(--r2); background: var(--navy); color: var(--white); padding: 32px; }
.selftest h3 { display: flex; gap: 8px; align-items: center; font-size: 20px; }
.selftest h3 .ic { color: var(--pink); width: 24px; height: 24px; }
.selftest ul { list-style: none; margin: 16px 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.selftest li { padding: 12px 16px; border-radius: var(--r1); background: rgba(255, 255, 255, .06); border: 1px solid var(--line-dark); font-size: 15px; }
.selftest p { color: var(--on-dark); font-size: 15px; }

/* 预约 */
.contact { padding: 96px 0; background: radial-gradient(50% 60% at 20% 30%, rgba(255, 61, 139, .14), transparent 70%), var(--navy); scroll-margin-top: 64px; }
.contact-in { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.contact-mascot { width: 260px; height: auto; margin-bottom: 24px; filter: drop-shadow(0 12px 24px rgba(0, 0, 0, .35)); }
.contact h2 { font-size: 49px; }
.form { background: var(--white); color: var(--ink); border-radius: var(--r2); padding: 32px; box-shadow: var(--sh2); display: flex; flex-direction: column; gap: 16px; position: relative; }
.field { display: flex; flex-direction: column; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-size: 15px; font-weight: 600; padding: 0; }
.field small { font-weight: 400; color: var(--ink-3); margin-left: 4px; }
.field input, .field textarea { font: 16px/1.5 var(--font); color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: var(--r1); padding: 0 16px; height: 48px; width: 100%; transition: border-color .15s ease-out, box-shadow .15s ease-out; }
.field textarea { height: auto; padding: 12px 16px; resize: vertical; min-height: 96px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--pink); box-shadow: 0 0 0 3px var(--pink-soft); background: var(--white); }
.field input[aria-invalid="true"] { border-color: #D93A3A; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-flex; align-items: center; height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font-size: 15px; font-weight: 500; cursor: pointer; transition: background-color .15s ease-out, border-color .15s ease-out, color .15s ease-out; }
.chips input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--white); }
.chips input:focus-visible + span { outline: 2px solid var(--pink); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-err { color: #C42B2B; font-size: 15px; min-height: 0; }
.form-err:empty { display: none; }
.form-ok { position: absolute; inset: 0; border-radius: var(--r2); background: var(--white); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 8px; padding: 32px; animation: rise .25s ease-out backwards; }
.form-ok[hidden] { display: none; }
.form-ok .ic { width: 48px; height: 48px; color: var(--pink); }
.form-ok b { font-size: 25px; }
.form-ok p { color: var(--ink-2); max-width: 20em; }

/* 页脚 */
.foot { background: var(--navy-2); border-top: 1px solid var(--line-dark); padding: 32px 0 calc(32px + env(safe-area-inset-bottom)); }
.foot-in { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot nav { display: flex; gap: 24px; flex-wrap: wrap; }
.foot nav a { color: var(--on-dark); text-decoration: none; font-size: 15px; }
.foot nav a:hover { color: var(--white); }
.copy { margin-left: auto; color: var(--on-dark-2); font-size: 13px; }
.copy a { color: inherit; text-decoration: none; margin-left: 12px; }

/* 手机底部预约条：桌面不显示；到了预约区自动收起 */
.mbar { display: none; }

@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-act { margin-left: auto; }
  .scenes { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 24px 8px; scrollbar-width: none; }
  .scenes::-webkit-scrollbar { display: none; }
  .scenes li { flex: 0 0 220px; scroll-snap-align: start; }
  .courses, .deploy-in, .contact-in { grid-template-columns: 1fr; }
  .deploy-in, .contact-in { gap: 48px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .selftest ul { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .nav-login { display: none; }
  .hero { padding: 40px 0 32px; }
  .hero h1 { font-size: 39px; }
  .lead { font-size: 16px; }
  .br-d { display: none; }
  .br-m { display: inline; }
  .hero-cta { width: 100%; flex-direction: column; align-items: stretch; }
  .stage { margin-top: 40px; }
  .float { font-size: 12px; padding: 6px 10px; }
  .f1 { left: -4%; top: 2%; }
  .f2 { display: none; }
  .f3 { right: -2%; bottom: 4%; }
  .scenes { padding: 0 16px 8px; }
  .scenes li { flex-basis: 200px; }
  .light, .deploy, .contact { padding: 64px 0; }
  h2 { font-size: 31px; }
  .contact h2 { font-size: 31px; }
  .course { padding: 24px 20px; border-radius: 20px; }
  .course h3 { font-size: 20px; }
  .course .btn { align-self: stretch; }
  .steps { grid-template-columns: 1fr; }
  .selftest { padding: 24px 20px; }
  .selftest ul { grid-template-columns: 1fr; }
  .peek { width: 140px; left: 16px; }
  .deploy-shot { padding-top: 40px; margin-bottom: 32px; }
  .phone { right: -4px; bottom: -40px; width: 38%; border-width: 4px; border-radius: 20px; }
  .contact-mascot { width: 180px; }
  .form { padding: 24px 20px; }
  .copy { margin-left: 0; width: 100%; }
  .mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(11, 21, 50, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line-dark); font-size: 15px; color: var(--on-dark); transition: transform .22s ease-out; }
  .mbar.hide { transform: translateY(110%); }
  .foot { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}
