/* ==========================================================================
   广睿创业服务 - 通用样式表
   modern-minimal + Apple DS
   ========================================================================== */

/* ===================== TOKENS ===================== */
:root {
  --bg:        oklch(99% 0.002 240);
  --surface:   #ffffff;
  --surface-2: oklch(98% 0.003 250);
  --surface-3: oklch(96% 0.005 250);
  --border:    oklch(92% 0.005 250);
  --border-2:  oklch(88% 0.006 250);
  --muted:     oklch(54% 0.012 250);
  --muted-2:   oklch(70% 0.010 250);
  --fg:        oklch(18% 0.012 250);

  --accent:       #0071e3;
  --accent-hover: #0066cc;
  --accent-soft:  rgba(0,113,227,0.08);
  --accent-line:  rgba(0,113,227,0.18);

  --cat-startup:    #d65a14;
  --cat-startup-bg: #fdf1e8;
  --cat-skill:      #1c8e4a;
  --cat-skill-bg:   #ebf6ee;
  --cat-dual:       #6f3ce0;
  --cat-dual-bg:    #f3edfe;

  --gold:      #c79a4a;
  --gold-soft: rgba(199,154,74,0.20);

  --ink:      #0a0a0c;
  --ink-soft: #16161a;

  --ok:    #1c8e4a;
  --warn:  #d97706;
  --err:   #dc2626;

  --font-display: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
  --font-body:    -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
  --font-mono:    'SF Mono', 'JetBrains Mono', 'IBM Plex Mono', ui-monospace, Menlo, monospace;

  --r-xs:   4px;
  --r-sm:   6px;
  --r-md:   8px;
  --r-lg:   12px;
  --r-xl:   16px;
  --r-2xl:  20px;
  --r-pill: 980px;

  --shadow-sm: 0 1px 2px rgba(8,11,28,0.04);
  --shadow-md: 0 6px 28px rgba(8,11,28,0.06);
  --shadow-lg: 0 24px 64px rgba(8,11,28,0.08);
}

/* ===================== RESET ===================== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--fg);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img, svg { display: block; max-width: 100%; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5 { font-family: var(--font-display); font-weight: 600; }
input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; width: 100%; }

/* ===================== HEADER ===================== */
.site-header {
  background: rgba(255,255,255,0.86);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .container {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 88px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--fg);
}
.brand-logo {
  height: 62px;
  width: auto;
  display: block;
}
.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: var(--accent);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
}
.city-picker {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: 15px;
  color: var(--muted);
}
.city-current {
  color: var(--muted);
}
.city-switch {
  position: relative;
  padding: 0;
  color: var(--muted);
  transition: color 0.15s ease;
  cursor: pointer;
}
.city-switch::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.15s ease;
}
.city-switch:hover {
  color: var(--fg);
}
.city-switch:hover::after {
  transform: scaleX(1);
}
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.92);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  margin-left: 6px;
}
.nav-toggle span {
  width: 18px;
  height: 1.8px;
  border-radius: 2px;
  background: var(--fg);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(6.8px) rotate(45deg);
}
.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-6.8px) rotate(-45deg);
}
.nav-main {
  display: flex;
  gap: 2px;
  margin-left: auto;
}
.nav-main a {
  font-size: 16px;
  font-weight: 400;
  color: var(--muted);
  padding: 8px 16px;
  border-radius: var(--r-md);
  transition: all 0.15s ease;
  position: relative;
}
.nav-main a:hover { color: var(--fg); background: rgba(0,0,0,0.04); }
.nav-main a.active {
  color: var(--accent);
  font-weight: 700;
}
.nav-main a.active::after {
  content: '';
  position: absolute;
  bottom: -25px;
  left: 8px;
  right: 8px;
  height: 3px;
  background: var(--accent);
  border-radius: 3px;
}
.header-account {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 10px;
  flex-shrink: 0;
}
.header-auth-btn {
  min-width: 108px;
  height: 38px;
  font-weight: 600;
  border-color: rgba(242, 140, 40, 0.24);
  color: #d66f0e;
  background: #fff7ef;
}
.header-auth-btn:hover {
  background: #ffefdf;
  border-color: rgba(242, 140, 40, 0.38);
}
.header-user-entry {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  max-width: 220px;
  padding: 6px 12px 6px 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.92);
  transition: all 0.15s ease;
}
.header-user-entry:hover {
  border-color: rgba(0,113,227,0.22);
  box-shadow: var(--shadow-sm);
}
.header-user-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), #58a6ff);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}
.header-user-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
}

.header-top .header-account{
  display: flex;
  justify-content: flex-end;
  max-width: 1200px;
  margin: 0 auto;
  font-size: 12px;
}

.header-top .header-account span:hover{
  opacity: 0.7;
  cursor: pointer;
}

/* ===================== GLOBAL AUTH ===================== */
.global-auth-modal {
  position: fixed;
  inset: 0;
  z-index: 260;
}
.global-auth-modal[hidden] {
  display: none;
}
.global-auth-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 11, 28, 0.56);
}
.global-auth-dialog {
  position: relative;
  z-index: 1;
  width: min(92vw, 460px);
  margin: min(10vh, 84px) auto 0;
  padding: 30px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 30px 80px rgba(8, 11, 28, 0.18);
}
.global-auth-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--muted);
}
.global-auth-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f28c28;
  margin-bottom: 12px;
}
.global-auth-dialog h3 {
  font-size: 28px;
  margin-bottom: 10px;
}
.global-auth-desc {
  color: var(--muted);
  line-height: 1.7;
}
.global-auth-tabs {
  display: inline-flex;
  gap: 6px;
  padding: 4px;
  margin-top: 20px;
  border-radius: 999px;
  background: var(--surface-2);
}
.global-auth-tabs button {
  min-width: 84px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--muted);
}
.global-auth-tabs button.active {
  color: var(--fg);
  font-weight: 700;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.global-auth-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}
.global-auth-field {
  display: grid;
  gap: 7px;
}
.global-auth-field span {
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
}
.global-auth-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
}
.global-auth-field-code .input {
  width: 100%;
}
.global-auth-code-btn {
  height: 42px;
  padding: 0 16px;
  color: #d66f0e;
  border-color: rgba(242, 140, 40, 0.24);
  background: #fff7ef;
}
.global-auth-code-btn:hover {
  background: #ffefdf;
}
.global-auth-error {
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(220, 38, 38, 0.08);
  color: var(--err);
  font-size: 13px;
  line-height: 1.5;
}
.global-auth-submit {
  width: 100%;
  height: 46px;
  justify-content: center;
  font-weight: 700;
}

/* ===================== PAGE BANNER (light) ===================== */
.page-banner {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, var(--surface-3) 100%);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.page-banner--img {
  background-color: #eef6ff;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  height: 500px;
  display: flex;
  align-items: center;
  color: #333;
  border-bottom-color: rgba(0,0,0,0.15);
}
.page-banner--img::before,
.page-banner--img::after {
  display: none;
}
.page-banner--img .page-banner-eyebrow {
  color: #333;
}
.page-banner--img .page-banner-eyebrow::before {
  background: #333;
  opacity: 0.5;
}
.page-banner--img .page-banner-title {
  color: #333;
}
.page-banner--img .page-banner-sub {
  color: #333;
}
.page-banner--img .page-banner-en {
  color: rgba(51,51,51,0.6);
}
.page-banner--img .page-banner-gold {
  background: linear-gradient(90deg, #f7d794, #f5cd79);
}
.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 450px at 88% 18%, rgba(0,113,227,0.08), transparent 60%),
    radial-gradient(600px 400px at 5% 110%, rgba(0,113,227,0.05), transparent 60%);
  pointer-events: none;
}
.page-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 75% 35%, #000 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 75% 35%, #000 30%, transparent 70%);
  pointer-events: none;
}
.page-banner .container {
  padding-top: 72px;
  padding-bottom: 56px;
  position: relative;
  z-index: 1;
}
.page-banner-eyebrow {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.page-banner-eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--accent);
  opacity: 0.5;
}
.page-banner-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.06;
  margin-bottom: 12px;
  color: var(--fg);
}
.page-banner-sub {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.5;
  max-width: 680px;
  letter-spacing: -0.005em;
}
.page-banner-en {
  font-size: 14px;
  color: var(--muted-2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  margin-top: 4px;
  margin-bottom: 12px;
}
.page-banner-gold {
  display: inline-block;
  width: 156px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  border-radius: 2px;
  margin-top: 22px;
}
.page-banner-actions {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

/* tab strip inside banner */
.banner-tabs {
  display: inline-flex;
  gap: 4px;
  margin-top: 28px;
  padding: 4px;
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  overflow-x: auto;
  scrollbar-width: none;
}
.banner-tabs::-webkit-scrollbar { display: none; }
.banner-tabs button {
  padding: 8px 18px;
  border-radius: var(--r-pill);
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.15s ease;
}
.banner-tabs button:hover { color: var(--fg); }
.banner-tabs button.active {
  background: var(--fg);
  color: #fff;
}

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: var(--r-md);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.15s ease;
  white-space: nowrap;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-hover); }
.btn-primary:active { transform: scale(0.99); }

.btn-dark {
  background: var(--fg);
  color: #fff;
}
.btn-dark:hover { background: var(--ink-soft); }

.btn-ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--border);
}
.btn-ghost:hover { background: rgba(0,0,0,0.025); border-color: var(--muted-2); }

.btn-soft {
  background: var(--accent-soft);
  color: var(--accent);
}
.btn-soft:hover { background: rgba(0,113,227,0.14); }

.btn-sm { padding: 7px 12px; font-size: 13px; }
.btn-lg { padding: 12px 22px; font-size: 15px; }
.btn-pill { border-radius: var(--r-pill); }
.btn-icon {
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: var(--r-md);
  flex-shrink: 0;
}
.btn-icon-pill { border-radius: 50%; }

/* ===================== FILTER BAR ===================== */
.filter-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 80px;
  z-index: 90;
}
.filter-bar .container {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 16px;
  padding-bottom: 16px;
  flex-wrap: wrap;
}
.filter-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.filter-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-left: auto;
  flex-shrink: 0;
}
.search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 280px;
  height: 38px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  background: rgba(0,0,0,0.02);
  transition: all 0.15s ease;
}
.search:focus-within {
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.search input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font: inherit;
  color: var(--fg);
  font-size: 14px;
  min-width: 0;
}
.search input::placeholder { color: var(--muted-2); }
.search svg { color: var(--muted-2); flex-shrink: 0; }
.search:focus-within svg { color: var(--accent); }

/* selectable chip / pill */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  background: var(--surface);
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.chip:hover { border-color: var(--muted-2); color: var(--fg); }
.chip.active {
  background: var(--fg);
  color: #fff;
  border-color: var(--fg);
}
.chip.accent.active {
  background: var(--accent);
  border-color: var(--accent);
}

/* native-looking select */
.dropdown {
  position: relative;
  display: inline-flex;
}
.dropdown select {
  appearance: none;
  -webkit-appearance: none;
  height: 38px;
  padding: 0 36px 0 14px;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  background: var(--surface);
  font-size: 14px;
  color: var(--fg);
  cursor: pointer;
  transition: all 0.15s ease;
  font-weight: 500;
  min-width: 120px;
}
.dropdown select:hover { border-color: var(--muted-2); }
.dropdown select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.dropdown::after {
  content: '';
  position: absolute;
  right: 14px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}

/* ===================== SECTION HEAD ===================== */
.section {
  padding: 56px 0 80px;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 28px;
  gap: 16px;
  flex-wrap: wrap;
}
.section-head h2 {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.018em;
}
.section-head .meta {
  font-size: 13px;
  color: var(--muted);
}
.section-head .meta strong { color: var(--fg); font-weight: 600; }

/* ===================== CARD (generic) ===================== */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 24px;
  transition: all 0.25s ease;
  position: relative;
}
.card:hover {
  border-color: rgba(0,113,227,0.25);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* ===================== FORM ===================== */
.form-page {
  background: var(--surface-2);
  padding: 40px 0 80px;
}
.form-shell {
  max-width: 880px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  padding: 40px 48px;
  box-shadow: var(--shadow-sm);
}
.form-info-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  align-items: center;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 16px 22px;
  margin-bottom: 32px;
}
.form-info-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.form-info-label {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 500;
}
.form-info-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
  letter-spacing: -0.005em;
}
.form-info-value.accent { color: var(--accent); }

.form-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 24px;
  transition: color 0.15s ease;
}
.form-back:hover { color: var(--accent); }

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px 28px;
}
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field-label {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--fg);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  letter-spacing: -0.005em;
}
.field-label .req { color: var(--err); font-size: 13px; line-height: 1; }
.field-hint { font-size: 12px; color: var(--muted-2); margin-top: 2px; }

.input,
.field select,
.field textarea {
  width: 100%;
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface);
  font-size: 14px;
  color: var(--fg);
  transition: all 0.15s ease;
  outline: none;
  font-family: inherit;
}
.field textarea {
  height: auto;
  min-height: 96px;
  padding: 12px 14px;
  resize: vertical;
  line-height: 1.55;
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2386868b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  cursor: pointer;
}
.input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--muted-2); }
.input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 5px var(--accent-soft);
  background: #fff;
}
.input,
.field select,
.field textarea {
  transition: border-color 0.22s cubic-bezier(0.2, 0.8, 0.2, 1),
              box-shadow 0.22s cubic-bezier(0.2, 0.8, 0.2, 1),
              background-color 0.22s ease;
}
.input::placeholder,
.field textarea::placeholder { color: var(--muted-2); }

/* radios + checkboxes */
.radio-row, .checkbox-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.radio-row label,
.checkbox-row label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  font-size: 14px;
  color: var(--fg);
  cursor: pointer;
  transition: all 0.15s ease;
  background: var(--surface);
  user-select: none;
}
.radio-row label:hover,
.checkbox-row label:hover { border-color: var(--muted-2); }
.radio-row input,
.checkbox-row input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.radio-row label:has(input:checked),
.checkbox-row label:has(input:checked) {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
  font-weight: 500;
}

/* file upload */
.upload {
  border: 1.5px dashed var(--border);
  border-radius: var(--r-lg);
  padding: 28px 22px;
  text-align: center;
  background: var(--surface-2);
  transition: all 0.15s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.upload:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.upload svg { color: var(--muted); }
.upload:hover svg { color: var(--accent); }
.upload-title { font-size: 14px; color: var(--fg); font-weight: 500; }
.upload-hint { font-size: 12px; color: var(--muted); }
.upload-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
}
.upload-thumb {
  aspect-ratio: 4/3;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  color: var(--muted-2);
  font-size: 12px;
  position: relative;
  overflow: hidden;
}
.upload-thumb-empty {
  border-style: dashed;
  cursor: pointer;
  transition: all 0.15s ease;
}
.upload-thumb-empty:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* captcha */
.captcha-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}
.captcha-row .input {
  flex: 0 0 10ch;
  width: 10ch;
  min-width: 10ch;
  max-width: 10ch;
}
.captcha-img {
  height: 42px;
  width: 110px;
  background: linear-gradient(135deg, #f0f0f3, #e0e0e8);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 600;
  color: var(--fg);
  letter-spacing: 0.18em;
  user-select: none;
  position: relative;
  overflow: hidden;
}
.captcha-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(40deg, rgba(0,0,0,0.04) 0 1px, transparent 1px 7px),
    repeating-linear-gradient(-30deg, rgba(0,113,227,0.04) 0 1px, transparent 1px 9px);
  pointer-events: none;
}
.captcha-img span { position: relative; z-index: 1; }
.captcha-refresh {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  font-size: 13px;
  color: var(--muted);
  background: var(--surface);
  transition: all 0.15s ease;
  white-space: nowrap;
}
.captcha-refresh:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.form-submit-row {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.form-submit-row .btn-primary {
  min-width: 220px !important;
  height: 46px;
  padding: 0 28px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 12px 24px rgba(0, 113, 227, 0.18);
}
.form-tip {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}
.form-tip-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.form-tip-link:hover {
  color: var(--accent);
}

.form-section-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--fg);
  margin: 12px 0 -4px;
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.005em;
}
.form-section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ===================== PAGINATION ===================== */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  margin-top: 56px;
}
.pagination button, .pagination a {
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface);
  font-size: 13px;
  color: var(--fg);
  font-weight: 500;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.pagination button:hover, .pagination a:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.pagination .current {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.pagination .ellipsis {
  border: none;
  background: transparent;
  color: var(--muted);
  cursor: default;
}
.pagination .ellipsis:hover { color: var(--muted); }

/* ===================== FOOTER ===================== */
.site-footer {
  background: #f5f7fa;
  color: #333;
  padding: 64px 0 0;
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1.5fr 1fr;
  gap: 64px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.footer-brand .brand { color: #fff; }
.footer-brand .brand-mark { background: var(--accent); }
.footer-brand .brand-logo {
  height: 67px;
}
.footer-intro {
  font-size: 13.5px;
  line-height: 1.65;
  color: #333;
  max-width: 380px;
}
.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #333;
  font-size: 13.5px;
  font-weight: 500;
  padding: 8px 14px;
  align-self: flex-start;
  border: 1px solid rgba(113, 153, 206, 0.822);
  border-radius: var(--r-pill);
  transition: all 0.15s ease;
}
.footer-link:hover { 
  background: rgb(24, 72, 162); 
  border-color: rgba(255,255,255,0.22); 
  color: #fff;
}
.footer-col h4 {
  color: #333;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: -0.005em;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 13px;
  color: #333;
  line-height: 1.55;
}
.contact-item svg { color: #333;; flex-shrink: 0; margin-top: 2px; }
.contact-item .ci-label { font-size: 11px; 
  color: #333; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 2px; }
.contact-item .ci-value { 
  color: #333; font-weight: 500; font-size: 14px; }

.qr-row { display: flex; gap: 14px; }
.qr {
  width: 84px;
  text-align: center;
  font-size: 11px;
  color: #333;
}
.qr-img {
  width: 84px;
  height: 84px;
  background: linear-gradient(135deg, rgba(28, 28, 28, 0.3), rgba(40, 40, 40, 0.1));
  /* border: 1px solid rgba(119, 119, 119, 0.1); */
  border-radius: 10px;
  margin-bottom: 8px;
  display: grid;
  place-items: center;
  
  color: #333;
  position: relative;
  overflow: hidden;
}
.qr-img::before {
  content: '';
  position: absolute;
  inset: 14px;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.18) 0 2px, transparent 2px 4px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.10) 0 2px, transparent 2px 4px);
  mask-image: radial-gradient(circle, #000 35%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle, #000 35%, transparent 70%);
}
.qr-img svg { position: relative; z-index: 1; }

.copyright {
  padding: 22px 0 34px;
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  text-align: center;
  letter-spacing: 0.01em;
}
.copyright a { color: rgba(255,255,255,0.7); }
.copyright a:hover { color: #fff; }
.copyright .sep { display: inline-block; margin: 0 10px; color: rgba(255,255,255,0.2); }

/* ===================== UTILITIES ===================== */
.divider {
  height: 1px;
  background: var(--border);
  border: 0;
  margin: 32px 0;
}
.dot {
  display: inline-block;
  width: 4px;
  height: 4px;
  background: currentColor;
  border-radius: 50%;
  vertical-align: middle;
  opacity: 0.5;
  margin: 0 8px;
}
.tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  font-size: 11.5px;
  font-weight: 500;
  border-radius: var(--r-xs);
  background: var(--surface-3);
  color: var(--muted);
  letter-spacing: 0.01em;
}
.tag.accent { background: var(--accent-soft); color: var(--accent); }
.tag.startup { background: var(--cat-startup-bg); color: var(--cat-startup); }
.tag.skill { background: var(--cat-skill-bg); color: var(--cat-skill); }
.tag.dual { background: var(--cat-dual-bg); color: var(--cat-dual); }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 500;
  border-radius: var(--r-pill);
  background: rgba(28,142,74,0.10);
  color: var(--ok);
}
.status-pill::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.status-pill.warn { background: rgba(217,119,6,0.10); color: var(--warn); }
.status-pill.muted { background: var(--surface-3); color: var(--muted); }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1180px) {
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .container { padding: 0 20px; }
  .site-header .container {
    height: auto;
    min-height: 88px;
    padding-top: 12px;
    padding-bottom: 10px;
    gap: 12px 18px;
    flex-wrap: wrap;
  }
  .brand-logo { height: 54px; }
  .city-picker {
    margin-left: auto;
    font-size: 14px;
    gap: 6px;
  }
  .nav-toggle {
    display: inline-flex;
    order: 2;
    margin-left: 0;
    flex-shrink: 0;
  }
  .header-account {
    order: 2;
    margin-left: 0;
  }
  .header-auth-btn {
    min-width: 96px;
    height: 36px;
    padding-inline: 14px;
  }
  .header-user-entry {
    max-width: 180px;
  }
  .nav-main {
    display: none;
    order: 3;
    width: 100%;
    margin-left: 0;
    padding: 10px 0 6px;
    flex-direction: column;
    gap: 8px;
    border-top: 1px solid var(--border);
  }
  .nav-main.is-open { display: flex; }
  .nav-main a {
    white-space: normal;
    font-size: 14px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(0,0,0,0.02);
  }
  .nav-main a.active::after {
    display: none;
  }
  .filter-bar {
    position: static;
    top: auto;
  }
  .filter-bar .container { flex-wrap: wrap; }
  .filter-group {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .filter-group .dropdown {
    width: 100%;
  }
  .filter-group .dropdown select {
    width: 100%;
    min-width: 0;
  }
  .filter-actions {
    width: 100%;
    margin-left: 0;
    justify-content: flex-start;
  }
  .search { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .qr-row { flex-wrap: wrap; }
  .copyright { line-height: 1.8; }
  .page-banner .container { padding-top: 48px; padding-bottom: 36px; }
  .page-banner-title { font-size: clamp(32px, 10vw, 48px); }
  .page-banner-sub { font-size: 15px; }
  .form-shell { padding: 28px 22px; }
  .form-info-bar { flex-direction: column; align-items: flex-start; gap: 12px; }
  .captcha-row { flex-wrap: wrap; }
  .captcha-row .input {
    flex: 0 0 100%;
    width: 100%;
    min-width: 0;
    max-width: none;
  }
  .global-auth-dialog {
    width: calc(100% - 24px);
    margin-top: 48px;
    padding: 24px 18px;
  }
  .global-auth-row {
    grid-template-columns: 1fr;
  }
  .global-auth-code-btn {
    width: 100%;
  }
}
@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .site-header .container {
    gap: 10px 14px;
    padding-top: 10px;
    padding-bottom: 8px;
  }
  .brand-logo { height: 48px; }
  .city-picker { font-size: 13px; }
  .city-current { display: none; }
  .header-account {
    gap: 8px;
  }
  .header-auth-btn {
    min-width: 88px;
    font-size: 12px;
  }
  .header-user-entry {
    max-width: 138px;
    padding-right: 10px;
  }
  .header-user-name {
    font-size: 13px;
  }
  .filter-group { grid-template-columns: 1fr; }
  .filter-actions { width: 100%; }
  .page-banner .container { padding-top: 36px; padding-bottom: 28px; }
  .global-auth-dialog h3 {
    font-size: 24px;
  }
}

/* ===================== REVEAL ON SCROLL ===================== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s cubic-bezier(0.2, 0.8, 0.2, 1),
              transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===================== EMPTY STATE ===================== */
.empty-state {
  text-align: center;
  padding: 64px 24px;
  color: var(--muted);
  background: var(--surface-2);
  border: 1px dashed var(--border-2);
  border-radius: var(--r-xl);
  grid-column: 1 / -1;
}
.empty-state-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--muted-2);
}
.empty-state-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 6px;
  letter-spacing: -0.005em;
}
.empty-state-msg {
  font-size: 13.5px;
  line-height: 1.55;
  max-width: 360px;
  margin: 0 auto 18px;
  color: var(--muted);
}
.empty-state-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 500;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--fg);
  cursor: pointer;
  transition: all 0.18s ease;
}
.empty-state-action:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

/* ===================== SUBTLE FEEDBACK ANIMATIONS ===================== */
@keyframes shake-x {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}
.shake { animation: shake-x 0.4s cubic-bezier(0.36, 0.07, 0.19, 0.97) both; }
