/**
 * 辕轼会品牌官网 · 浅色现代风
 */
html {
  overflow-x: hidden;
  scrollbar-width: none;
}

html::-webkit-scrollbar {
  display: none;
}

body {
  font-family: "Noto Sans SC", -apple-system, BlinkMacSystemFont, sans-serif;
  overflow-x: hidden;
  background: #fafafa;
}

/* ── 导航 ── */
.site-navbar {
  padding-top: 1rem;
  padding-bottom: 1rem;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.site-navbar--hidden {
  transform: translateY(calc(-100% - 1.25rem));
  pointer-events: none;
}

.site-nav-pill {
  backdrop-filter: blur(16px) saturate(180%);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 999px;
  padding: 0.45rem 0.45rem 0.45rem 1.15rem;
  box-shadow: var(--hxh-shadow-sm);
}

.site-navbar .navbar-brand {
  color: #1a1a1a !important;
  font-weight: 600;
  font-size: 1rem;
}

.site-navbar .nav-link {
  color: var(--hxh-text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.4rem 0.75rem !important;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}

.site-navbar .nav-link:hover {
  color: #1a1a1a;
  background: rgba(0, 0, 0, 0.04);
}

/* ── Hero：背景大图 ── */
.site-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 7rem 0 5rem;
  position: relative;
  background: #fafafa;
  overflow: hidden;
}

.site-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("assets/hero-bg.jpg") center 42% / cover no-repeat;
}

.site-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    105deg,
    rgba(255, 254, 249, 0.94) 0%,
    rgba(255, 252, 245, 0.88) 38%,
    rgba(255, 255, 255, 0.62) 62%,
    rgba(250, 250, 250, 0.28) 100%
  );
  pointer-events: none;
}

.site-hero > .container {
  position: relative;
  z-index: 2;
}

.site-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem 0.35rem 0.5rem;
  border-radius: 999px;
  background: var(--hxh-accent-soft);
  border: 1px solid rgba(255, 193, 7, 0.35);
  font-size: 0.8125rem;
  font-weight: 500;
  color: #9a7200;
  margin-bottom: 1.5rem;
}

.site-kicker-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffc107;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.4); }
  50% { opacity: 0.7; box-shadow: 0 0 0 4px rgba(255, 193, 7, 0); }
}

.site-hero-title {
  font-size: clamp(2.5rem, 7vw, 4rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: #1a1a1a;
  margin-bottom: 0.75rem;
}

.site-hero-lead {
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--hxh-text-muted);
  max-width: 36rem;
  margin-bottom: 2rem;
}

.site-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.site-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2.5rem;
}

.site-tag {
  font-size: 0.75rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--hxh-border);
  color: var(--hxh-text-muted);
  box-shadow: var(--hxh-shadow-sm);
  transition: transform 0.25s ease;
}

.site-tag:nth-child(1) { transform: rotate(1.2deg); }
.site-tag:nth-child(2) { transform: rotate(-1deg); }
.site-tag:nth-child(3) { transform: rotate(-1.5deg); }
.site-tag:nth-child(4) { transform: rotate(1deg); }
.site-tag:nth-child(5) { transform: rotate(-0.8deg); }

.site-tag:hover {
  transform: translateY(-3px) rotate(0deg) !important;
}

.site-tag:nth-child(even):hover {
  transform: translateY(-3px) rotate(0deg) !important;
}

/* ── 漂浮字 ── */
.site-visual {
  position: relative;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.site-float {
  position: absolute;
  z-index: 2;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 500;
  color: #9a7200;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 193, 7, 0.35);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  pointer-events: none;
  white-space: nowrap;
  animation: float-free 5s ease-in-out infinite;
}

.site-float--1 {
  top: 8%;
  left: 0;
  animation-delay: 0s;
  transform: rotate(-6deg);
}

.site-float--2 {
  top: 40%;
  right: 0;
  animation-delay: -1.5s;
  transform: rotate(4deg);
}

.site-float--3 {
  bottom: 18%;
  left: 6%;
  animation-delay: -3s;
  transform: rotate(-3deg);
}

.site-float--4 {
  top: 20%;
  right: 4%;
  animation-delay: -2s;
  transform: rotate(5deg);
  opacity: 0.92;
}

.site-float--5 {
  bottom: 8%;
  right: 12%;
  animation-delay: -4s;
  transform: rotate(-4deg);
  background: rgba(255, 248, 225, 0.95);
}

@keyframes float-free {
  0%, 100% { translate: 0 0; rotate: inherit; }
  33% { translate: 6px -10px; }
  66% { translate: -4px -6px; }
}

/* ── 手机 Mock ── */
.site-phone-mock {
  position: relative;
  width: min(100%, 300px);
  padding: 11px;
  border-radius: 44px;
  background: linear-gradient(160deg, #f0f0f2 0%, #e4e4e8 100%);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.8) inset,
    var(--hxh-shadow-lg);
  animation: float-phone 7s ease-in-out infinite;
  transform: rotate(-2deg);
}

@keyframes float-phone {
  0%, 100% { transform: rotate(-2deg) translateY(0); }
  50% { transform: rotate(-1deg) translateY(-12px); }
}

.site-feed-card:nth-child(1) { transform: rotate(-0.5deg); }
.site-feed-card:nth-child(2) { transform: rotate(0.8deg); margin-top: 6px; }
.site-feed-card:nth-child(3) { transform: rotate(0.4deg); }
.site-feed-card:nth-child(4) { transform: rotate(-0.6deg); margin-top: 4px; }

.site-feed-card:hover {
  transform: translateY(-3px) rotate(0deg) !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.site-feed-img {
  height: 80px;
  overflow: hidden;
  background: #eee;
}

.site-feed-img--tall {
  height: 100px;
}

.site-feed-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.site-phone-screen {
  border-radius: 34px;
  overflow: hidden;
  background: #f5f6f8;
  min-height: 520px;
  display: flex;
  flex-direction: column;
}

.site-feed-head {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 2.75rem 1rem 1rem;
  background: #fff;
}

.site-feed-tab {
  font-size: 0.8125rem;
  color: #aaa;
  padding-bottom: 0.5rem;
  position: relative;
}

.site-feed-tab--on {
  color: #1a1a1a;
  font-weight: 600;
}

.site-feed-tab--on::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: #ffc107;
}

.site-feed-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 10px;
  align-content: start;
}

.site-feed-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.site-feed-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px 0;
}

.site-feed-avatar {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffc107, #ffb300);
}

.site-feed-name {
  font-size: 0.5625rem;
  color: #999;
}

.site-feed-text {
  margin: 0;
  padding: 6px 10px 10px;
  font-size: 0.625rem;
  line-height: 1.45;
  color: #444;
}

.site-feed-tabbar {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 12px 8px 20px;
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.site-feed-tabbar span {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #eee;
}

.site-feed-post {
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #ffc107, #ffb300) !important;
  box-shadow: 0 4px 12px rgba(255, 193, 7, 0.45);
}

/* ── 价值主张条 ── */
.site-value {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--hxh-border);
  background: linear-gradient(180deg, #fff 0%, #fffef9 100%);
}

.site-value-text {
  text-align: center;
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  line-height: 1.7;
  color: var(--hxh-text-muted);
  max-width: 36rem;
  margin-inline: auto;
}

.site-value-text strong {
  color: #1a1a1a;
  font-weight: 600;
}

.site-value-free {
  text-align: center;
  font-size: 0.9375rem;
  color: #b8860b;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ── Bento ── */
.site-section--alt {
  background: linear-gradient(180deg, #fff 0%, #fafafa 100%);
}

.site-section {
  padding: 6rem 0;
}

.site-section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #b8860b;
  margin-bottom: 0.75rem;
}

.site-section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #1a1a1a;
}

.site-section-desc {
  color: var(--hxh-text-muted);
  font-size: 1rem;
  max-width: 28rem;
  margin-inline: auto;
}

.site-section-desc--free {
  font-style: italic;
  letter-spacing: 0.02em;
  color: #888;
}

.site-bento {
  height: 100%;
  padding: 2rem;
  border-radius: 22px;
  background: var(--hxh-surface);
  border: 1px solid var(--hxh-border);
  box-shadow: var(--hxh-shadow-sm);
  transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s;
}

.site-bento--1 { transform: rotate(-0.6deg); }
.site-bento--2 { transform: rotate(0.5deg); margin-top: 0.5rem; }
.site-bento--3 { transform: rotate(-0.3deg); }
.site-bento--4 { transform: rotate(0.7deg); margin-top: 0.35rem; }

.site-bento:hover {
  border-color: rgba(255, 193, 7, 0.4);
  box-shadow: 0 16px 40px rgba(255, 193, 7, 0.1);
  transform: translateY(-6px) rotate(0deg) !important;
}

.site-bento-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #9a7200;
  background: var(--hxh-accent-soft);
  margin-bottom: 1.25rem;
}

.site-bento h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
}

.site-bento p {
  font-size: 0.875rem;
  color: var(--hxh-text-muted);
  line-height: 1.7;
  margin: 0;
}

/* ── 内页 / 招聘 ── */
.site-page-main {
  padding-top: 6.5rem;
}

.site-careers-hero {
  padding: 2rem 0 3rem;
  border-bottom: 1px solid var(--hxh-border);
  background: linear-gradient(180deg, #fffef9 0%, #fafafa 100%);
}

.site-careers-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 1.25rem;
}

.site-careers-email {
  font-size: 1rem;
  font-weight: 500;
  color: #9a7200;
  text-decoration: none;
  transition: color 0.2s;
}

.site-careers-email:hover {
  color: #1a1a1a;
}

.site-careers-lead {
  max-width: 36rem;
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--hxh-text-muted);
}

.site-job-card {
  height: 100%;
  padding: 1.75rem;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--hxh-border);
  box-shadow: var(--hxh-shadow-sm);
  display: flex;
  flex-direction: column;
}

.site-job-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 0.65rem;
}

.site-job-desc {
  flex: 1;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--hxh-text-muted);
  margin-bottom: 1rem;
}

.site-job-req-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 0.4rem;
}

.site-job-req {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  line-height: 1.65;
  color: var(--hxh-text-muted);
}

.site-job-req li {
  position: relative;
  padding-left: 0.85rem;
  margin-bottom: 0.3rem;
}

.site-job-req li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #ffc107;
}

.site-job-pay {
  font-size: 0.8125rem;
  line-height: 1.65;
  color: #9a7200;
  font-weight: 500;
  margin-bottom: 1rem;
}

.site-job-meta {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  font-size: 0.8125rem;
  color: var(--hxh-text-faint);
}

.site-job-meta li {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.35rem;
}

.site-job-apply {
  align-self: flex-start;
  font-size: 0.875rem;
  font-weight: 500;
  color: #9a7200;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 193, 7, 0.5);
  transition: color 0.2s, border-color 0.2s;
}

.site-job-apply:hover {
  color: #1a1a1a;
  border-color: #ffc107;
}

.site-careers-contact {
  max-width: 32rem;
  margin-inline: auto;
}

.site-navbar .nav-link.active {
  color: #1a1a1a;
  background: rgba(255, 193, 7, 0.12);
}

/* ── CTA ── */
.site-join-card {
  max-width: 720px;
  margin-inline: auto;
  padding: 3rem 2rem;
  border-radius: 28px;
  text-align: center;
  background: linear-gradient(165deg, #fffef9 0%, #fff 100%);
  border: 1px solid rgba(255, 193, 7, 0.2);
  box-shadow: var(--hxh-shadow-md);
  transform: rotate(-0.5deg);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.site-join-card:hover {
  transform: rotate(0deg) translateY(-4px);
  box-shadow: 0 20px 48px rgba(255, 193, 7, 0.12);
}

.site-join-free {
  font-size: 1.0625rem;
  font-style: italic;
  font-weight: 500;
  color: #b8860b;
  letter-spacing: 0.06em;
}

.site-download-grid {
  display: grid;
  grid-template-columns: repeat(3, 168px);
  justify-content: center;
  gap: 1rem;
  text-align: center;
  align-items: start;
}

.site-download-item {
  width: 168px;
  box-sizing: border-box;
  padding: 1.25rem 0.75rem;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--hxh-border);
  box-shadow: var(--hxh-shadow-sm);
}

.site-download-item--android,
.site-download-item--ios {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.site-download-item h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 0.35rem;
}

.site-download-item p {
  font-size: 0.8125rem;
  color: var(--hxh-text-muted);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.site-download-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 0.75rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #9a7200;
  background: var(--hxh-accent-soft);
}

.site-download-icon--android {
  color: #3ddc84;
  background: rgba(61, 220, 132, 0.12);
}

.site-download-icon--ios {
  color: #1a1a1a;
  background: rgba(0, 0, 0, 0.06);
}

.site-download-badge {
  display: inline-block;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--hxh-text-muted);
  background: #fafafa;
  border: 1px dashed #ddd;
}

.site-qr-box {
  width: 128px;
  height: 128px;
  margin-inline: auto;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--hxh-border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 4px;
}

.site-qr-box--sm {
  width: 108px;
  height: 108px;
}

.site-qr-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ── 页脚 ── */
.site-footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--hxh-border);
}

.site-footer a {
  color: var(--hxh-text-muted);
  text-decoration: none;
  font-size: 0.8125rem;
  transition: color 0.2s;
}

.site-footer a:hover {
  color: #9a7200;
}

.site-footer-copy {
  font-size: 0.8125rem;
  color: var(--hxh-text-faint);
}

/* ── 入场 ── */
.site-reveal {
  opacity: 0;
  transform: translateY(20px);
  animation: reveal-up 0.7s ease forwards;
}

.site-reveal--1 { animation-delay: 0.08s; }
.site-reveal--2 { animation-delay: 0.16s; }
.site-reveal--3 { animation-delay: 0.28s; }

@keyframes reveal-up {
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 991.98px) {
  .site-hero {
    min-height: auto;
    padding-top: 6rem;
    text-align: center;
  }

  .site-hero-lead,
  .site-section-desc {
    margin-inline: auto;
  }

  .site-hero-actions,
  .site-hero-tags {
    justify-content: center;
  }

  .site-visual {
    margin-top: 2rem;
  }

  .site-float--2 {
    right: 2%;
  }

  .site-hero-bg {
    background-position: center 35%;
  }

  .site-hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(255, 254, 249, 0.93) 0%,
      rgba(255, 252, 245, 0.88) 50%,
      rgba(250, 250, 250, 0.78) 100%
    );
  }

  .site-download-grid {
    grid-template-columns: repeat(2, 168px);
    grid-template-areas:
      "main main"
      "android ios";
    justify-content: center;
    align-items: stretch;
    gap: 1rem;
  }

  .site-download-item--main {
    grid-area: main;
    justify-self: center;
  }

  .site-download-item--android {
    grid-area: android;
  }

  .site-download-item--ios {
    grid-area: ios;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-phone-mock,
  .site-kicker-dot,
  .site-reveal,
  .site-float {
    animation: none;
  }

  .site-phone-mock,
  .site-feed-card,
  .site-bento,
  .site-join-card {
    transform: none !important;
  }

  .site-reveal {
    opacity: 1;
    transform: none;
  }
}
