/* 行业专业人才需求分析平台 — 进入页 */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #1E50B3;
  --primary-dark: #0f2d6b;
  --accent: #1fa855;
  --glass: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.16);
  --text-muted: rgba(255, 255, 255, 0.68);
}

html {
  font-size: 16px;
}

body {
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  min-height: 100vh;
  color: #fff;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 42%, #2563eb 78%, #1d4ed8 100%);
  overflow-x: hidden;
}

.welcome-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.welcome-bg__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  animation: orbFloat 18s ease-in-out infinite;
}

.welcome-bg__orb--1 {
  width: 420px;
  height: 420px;
  background: rgba(31, 168, 85, 0.35);
  top: -120px;
  right: -80px;
}

.welcome-bg__orb--2 {
  width: 360px;
  height: 360px;
  background: rgba(96, 165, 250, 0.4);
  bottom: -100px;
  left: -60px;
  animation-delay: -6s;
}

.welcome-bg__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 20%, transparent 100%);
}

.welcome-page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
}

.welcome-shell {
  width: 100%;
  max-width: 1080px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
  animation: fadeInUp 0.9s ease-out;
}

@media (min-width: 901px) {
  .welcome-features {
    order: -1;
  }
}

.welcome-hero {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.welcome-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.welcome-logo {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 12px 32px rgba(0, 0, 0, 0.18);
}

.welcome-logo img {
  width: 48px;
  height: 48px;
}

.welcome-badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(31, 168, 85, 0.22);
  border: 1px solid rgba(31, 168, 85, 0.45);
  border-radius: 999px;
}

.welcome-title {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.welcome-subtitle {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 420px;
}

.welcome-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 8px;
}

.welcome-stats__items {
  display: flex;
  gap: 28px;
}

.welcome-stat__value {
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
  color: #fff;
}

.welcome-stat__label {
  margin-top: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

.enter-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 40px;
  background: #fff;
  color: var(--primary);
  font-size: 17px;
  font-weight: 700;
  font-family: inherit;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
}

.enter-btn:hover {
  background: #f0f4ff;
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
}

.enter-btn:active {
  transform: translateY(0);
}

.enter-btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.enter-btn i {
  font-size: 15px;
  transition: transform 0.25s ease;
}

.enter-btn:hover i {
  transform: translateX(4px);
}

.welcome-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.feature-card {
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 22px 20px;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16);
}

.feature-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #fff;
}

.feature-card:nth-child(2) .feature-icon { color: #86efac; }
.feature-card:nth-child(3) .feature-icon { color: #93c5fd; }
.feature-card:nth-child(4) .feature-icon { color: #fcd34d; }

.feature-name {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}

.feature-desc {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-muted);
}

.welcome-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 14px 24px;
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.32);
}

.welcome-modal-mask {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(15, 45, 107, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.welcome-modal-mask.is-open {
  display: flex;
}

.welcome-modal {
  width: 100%;
  max-width: 400px;
  background: #fff;
  color: #303133;
  border-radius: 16px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.welcome-modal__header {
  padding: 20px 24px 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
}

.welcome-modal__body {
  padding: 8px 24px 20px;
}

.welcome-modal__hint {
  margin: 0 0 16px;
  font-size: 14px;
  color: #606266;
  line-height: 1.5;
}

.welcome-modal__input {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  font-size: 14px;
  font-family: inherit;
  border: 1px solid #dcdfe6;
  border-radius: 10px;
  outline: none;
  transition: border-color 0.2s ease;
}

.welcome-modal__input:focus {
  border-color: var(--primary);
}

.welcome-modal__input.is-error {
  border-color: #f56c6c;
}

.welcome-modal__error {
  margin: 8px 0 0;
  font-size: 13px;
  color: #f56c6c;
}

.welcome-modal__error[hidden] {
  display: none;
}

.welcome-modal__footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 0 24px 24px;
}

.welcome-modal__btn {
  min-width: 88px;
  height: 40px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  background: var(--primary);
  color: #fff;
  transition: background 0.2s ease;
}

.welcome-modal__btn:hover {
  background: var(--primary-dark);
}

.welcome-modal__btn--secondary {
  background: #f0f2f5;
  color: #606266;
}

.welcome-modal__btn--secondary:hover {
  background: #e4e7ed;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(24px, -20px) scale(1.06); }
}

@media (max-width: 900px) {
  .welcome-shell {
    grid-template-columns: 1fr;
    gap: 36px;
    max-width: 520px;
  }

  .welcome-subtitle {
    max-width: none;
  }

  .welcome-stats {
    gap: 20px;
  }

  .welcome-stats__items {
    gap: 20px;
  }
}

@media (max-width: 520px) {
  .welcome-page {
    padding: 24px 16px 56px;
  }

  .welcome-features {
    grid-template-columns: 1fr;
  }

  .welcome-stats {
    flex-wrap: wrap;
    gap: 16px;
  }

  .welcome-stats__items {
    gap: 16px 24px;
    flex-wrap: wrap;
  }

  .enter-btn {
    margin-left: auto;
    flex-shrink: 0;
    padding: 14px 28px;
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .welcome-shell,
  .welcome-bg__orb {
    animation: none;
  }

  .enter-btn,
  .feature-card,
  .enter-btn i {
    transition: none;
  }
}
