/* ============================================================
   Knowell — Partnership (合作伙伴) page
   ============================================================ */

/* hero */
.part-hero { position: relative; min-height: 44vh; display: flex; align-items: center; background: var(--navy-900); color: #fff; overflow: hidden; padding: calc(var(--nav-h) + 48px) 0 52px; }
.part-hero .mesh { position: absolute; inset: -20%; background: radial-gradient(46% 50% at 22% 32%, rgba(0,114,255,.4), transparent 60%), radial-gradient(40% 46% at 84% 20%, rgba(0,198,255,.3), transparent 60%), radial-gradient(52% 60% at 70% 96%, rgba(121,40,202,.24), transparent 60%); filter: blur(16px); animation: meshDrift 24s ease-in-out infinite alternate; }
.part-hero .grid-tex { position: absolute; inset: 0; background-image: linear-gradient(rgba(120,190,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(120,190,255,.06) 1px, transparent 1px); background-size: 54px 54px; mask-image: radial-gradient(120% 100% at 40% 25%, #000 30%, transparent 80%); }
/* connection-node motif */
.part-hero .nodes { position: absolute; inset: 0; opacity: .55; }
.part-hero .nodes line { stroke: url(#nodeGrad); stroke-width: 1.4; }
.part-hero .nodes circle { fill: var(--cyan); }
.part-hero .nodes .big { fill: none; stroke: var(--cyan); stroke-width: 1.6; }
.part-hero .veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,25,47,.4), rgba(10,25,47,.8)); }
.part-hero .wrap { position: relative; z-index: 2; max-width: 820px; }
.part-hero .crumb { font-family: var(--mono); font-size: 12.5px; color: rgba(255,255,255,.55); margin-bottom: 20px; letter-spacing: .5px; }
.part-hero .crumb a:hover { color: var(--cyan); }
.part-hero h1 { font-size: clamp(34px, 5vw, 60px); font-weight: 800; letter-spacing: -1.2px; line-height: 1.06; }
.part-hero .sub { margin-top: 18px; font-size: 19px; color: rgba(255,255,255,.8); max-width: 600px; }

/* logo wall */
.logowall .lw-cat { margin-bottom: 40px; }
.logowall .lw-cat:last-child { margin-bottom: 0; }
.lw-cat-head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.lw-cat-head .badge { font-family: var(--mono); font-size: 12px; letter-spacing: 1px; color: var(--blue); background: var(--grad-soft); padding: 6px 14px; border-radius: var(--r-pill); }
.lw-cat-head .line { flex: 1; height: 1px; background: var(--ink-100); }
.lw-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.lw-item {
  display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--ink-100);
  border-radius: var(--r-card); padding: 18px 22px; transition: border-color .2s, box-shadow .2s, transform .2s; filter: grayscale(1); opacity: .72;
}
.lw-item:hover { filter: none; opacity: 1; border-color: rgba(0,114,255,.3); box-shadow: var(--sh-card); transform: translateY(-2px); }
.lw-logo { width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 18px; flex-shrink: 0; }
.lw-item b { display: block; font-size: 15px; font-weight: 700; color: var(--ink-900); }
.lw-item span { font-size: 12px; color: var(--ink-grey); font-family: var(--mono); }

/* partnership type cards */
.ptype-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.ptype {
  position: relative; background: #fff; border: 1px solid var(--ink-100); border-radius: var(--r-card-lg);
  padding: 34px; box-shadow: var(--sh-card); transition: transform .3s, box-shadow .3s, border-color .3s; overflow: hidden;
  display: flex; flex-direction: column;
}
.ptype::before { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; background: var(--grad-soft); opacity: .6; transition: transform .4s; }
.ptype:hover { transform: translateY(-4px); box-shadow: var(--sh-card-hover); border-color: rgba(0,114,255,.25); }
.ptype:hover::before { transform: scale(1.3); }
.ptype-ic { position: relative; z-index: 1; width: 62px; height: 62px; border-radius: 16px; background: var(--grad); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 22px rgba(0,114,255,.35); margin-bottom: 22px; }
.ptype-ic svg { width: 32px; height: 32px; }
.ptype h3 { position: relative; z-index: 1; font-size: 23px; font-weight: 800; letter-spacing: -.4px; }
.ptype .role { position: relative; z-index: 1; font-family: var(--mono); font-size: 12px; color: var(--blue); margin-top: 6px; letter-spacing: .5px; }
.ptype p { position: relative; z-index: 1; margin-top: 14px; font-size: 15px; color: var(--ink-700); line-height: 1.65; }
.ptype-data { position: relative; z-index: 1; margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; }
.ptype-data .d { display: inline-flex; align-items: center; gap: 8px; background: var(--ink-50); border: 1px solid var(--ink-100); border-radius: var(--r-pill); padding: 8px 14px; font-size: 13px; color: var(--ink-900); font-weight: 600; }
.ptype-data .d b { font-family: var(--mono); color: var(--blue); }
.ptype-data .d svg { width: 14px; height: 14px; color: var(--blue); }
.ptype-btn { position: relative; z-index: 1; margin-top: 26px; align-self: flex-start; display: inline-flex; align-items: center; gap: 9px; height: 46px; padding: 0 22px; border-radius: var(--r-btn); background: var(--grad); color: #fff; font-weight: 600; font-size: 15px; box-shadow: 0 6px 18px rgba(0,114,255,.3); transition: transform .2s, box-shadow .2s, gap .2s; }
.ptype-btn:hover { transform: translateY(-1px); box-shadow: var(--sh-glow); gap: 13px; }
.ptype-btn.ghost { background: #fff; color: var(--blue); border: 1.5px solid rgba(0,114,255,.5); box-shadow: none; }
.ptype-btn.ghost:hover { background: rgba(0,114,255,.05); border-color: var(--blue); }

/* benefits strip */
.pben { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.pben-card { text-align: center; padding: 10px; }
.pben-ic { width: 56px; height: 56px; border-radius: 15px; background: rgba(255,255,255,.06); border: 1px solid var(--navy-line); color: var(--cyan); display: grid; place-items: center; margin: 0 auto 16px; }
.pben-ic svg { width: 28px; height: 28px; }
.pben-card h4 { color: #fff; font-size: 17px; font-weight: 700; }
.pben-card p { color: rgba(255,255,255,.66); font-size: 13.5px; margin-top: 8px; line-height: 1.6; }

/* ---------- application modal form ---------- */
.apply-modal { width: min(680px, 100%); max-height: 90vh; display: flex; flex-direction: column; }
.apply-head { padding: 26px 30px 20px; border-bottom: 1px solid var(--navy-line); flex-shrink: 0; }
.apply-head .tagrow { display: flex; align-items: center; gap: 12px; }
.apply-head .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--grad); display: grid; place-items: center; color: #fff; flex-shrink: 0; }
.apply-head .ico svg { width: 22px; height: 22px; }
.apply-head h3 { font-size: 20px; font-weight: 700; }
.apply-head p { font-size: 13.5px; color: rgba(255,255,255,.6); margin-top: 3px; }
.apply-body { padding: 24px 30px 28px; overflow-y: auto; }
.apply-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.apply-field { display: flex; flex-direction: column; gap: 7px; }
.apply-field.full { grid-column: 1 / -1; }
.apply-field label { font-size: 13.5px; font-weight: 600; color: rgba(255,255,255,.9); }
.apply-field label .req { color: #ff8a8b; margin-left: 3px; }
.apply-input, .apply-select, .apply-textarea {
  height: 44px; border: 1.5px solid var(--navy-line); border-radius: 9px; padding: 0 14px; font-size: 14.5px;
  font-family: inherit; color: #fff; background: rgba(255,255,255,.04); transition: border-color .2s, box-shadow .2s; width: 100%;
}
.apply-textarea { height: auto; min-height: 88px; padding: 12px 14px; resize: vertical; }
.apply-select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2378beff' stroke-width='2'><path d='m4 6 4 4 4-4'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.apply-input::placeholder, .apply-textarea::placeholder { color: rgba(255,255,255,.4); }
.apply-input:focus, .apply-select:focus, .apply-textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(0,198,255,.16); }
.apply-input.err, .apply-textarea.err, .apply-select.err { border-color: #ff6b6c; box-shadow: 0 0 0 4px rgba(255,77,79,.14); }
.apply-err { font-size: 12px; color: #ff8a8b; min-height: 1px; }
.apply-count { font-size: 11.5px; color: rgba(255,255,255,.45); text-align: right; font-family: var(--mono); }
.apply-foot { margin-top: 22px; display: flex; gap: 12px; }
.apply-foot .btn { flex: 1; }
.apply-success { text-align: center; padding: 26px 20px; }
.apply-success .ok { width: 72px; height: 72px; border-radius: 50%; background: rgba(82,196,26,.15); color: var(--success); display: grid; place-items: center; margin: 0 auto 20px; }
.apply-success .ok svg { width: 36px; height: 36px; }
.apply-success h3 { font-size: 22px; font-weight: 700; color: #fff; }
.apply-success p { margin-top: 10px; color: rgba(255,255,255,.7); font-size: 14.5px; max-width: 420px; margin-left: auto; margin-right: auto; }

/* CTA */
.part-cta { background: var(--grad); color: #fff; text-align: center; position: relative; overflow: hidden; }
.part-cta .grid-tex2 { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.1) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.1) 1px, transparent 1px); background-size: 40px 40px; mask-image: radial-gradient(120% 120% at 50% 50%, #000, transparent 75%); }
.part-cta .wrap { position: relative; z-index: 1; }
.part-cta h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; letter-spacing: -1px; text-wrap: balance; }
.part-cta p { margin-top: 14px; font-size: 18px; opacity: .92; }
.part-cta .acts { margin-top: 30px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 900px) {
  .ptype-grid { grid-template-columns: 1fr; }
  .lw-grid { grid-template-columns: repeat(2, 1fr); }
  .pben { grid-template-columns: repeat(2, 1fr); }
  .apply-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .lw-grid { grid-template-columns: 1fr; }
  .pben { grid-template-columns: 1fr; }
}
