/* ===================== 设计令牌（青藤之恋·暗色电影感） ===================== */
:root {
  --bg: #0f1419;
  --bg-2: #1a2330;
  --bg-3: #2a3444;
  --surface: rgba(255, 255, 255, 0.08);
  --surface-light: rgba(255, 255, 255, 0.14);
  --ink: #ffffff;
  --ink-2: rgba(255, 255, 255, 0.75);
  --ink-3: rgba(255, 255, 255, 0.5);
  --brand: #4fd1a7;
  --brand-2: #3fb48f;
  --brand-dark: #2a8f70;
  --radius: 18px;
  --radius-sm: 10px;
  --maxw: 1200px;
  --nav-h: 64px;
  --bottom-h: 80px;
  --font: "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font); color: var(--ink); background: var(--bg);
  line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden;
  padding-bottom: var(--bottom-h);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { line-height: 1.25; font-weight: 600; }

/* ===================== 导航 ===================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h); display: flex; align-items: center; justify-content: space-between;
  padding: 0 4vw; transition: background .35s ease, backdrop-filter .35s ease;
}
.nav--scrolled { background: rgba(15, 20, 25, .85); backdrop-filter: blur(12px); }
.nav__brand { display: flex; align-items: center; gap: 10px; color: #fff; }
.nav__logo { height: 36px; width: auto; display: block; border-radius: 8px; }
.nav__logo--round { border-radius: 50%; height: 34px; }
.nav__brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.nav__brand span { font-size: 22px; font-weight: 700; letter-spacing: 1px; }
.nav__brand small { display: block; font-size: 10px; font-weight: 400; opacity: .8; letter-spacing: 2px; line-height: 1.2; }
.nav__links { display: flex; align-items: center; gap: 36px; font-size: 15px; color: rgba(255,255,255,.9); }
.nav__links a { position: relative; transition: color .2s; }
.nav__links a:hover { color: #fff; }
.nav__links a::after {
  content: ''; position: absolute; bottom: -6px; left: 0; width: 0; height: 2px;
  background: var(--brand); transition: width .25s ease;
}
.nav__links a:hover::after { width: 100%; }
.nav__toggle { display: none; width: 32px; height: 24px; flex-direction: column; justify-content: space-between; background: none; border: none; cursor: pointer; }
.nav__toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s, opacity .3s; }

/* ===================== 全屏英雄区 ===================== */
.hero, .panel {
  position: relative; width: 100%; min-height: 100vh; display: flex;
  align-items: center; justify-content: center; overflow: hidden;
}
.hero__bg-img, .panel__bg-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.02); transition: transform 8s ease; z-index: 0;
}
.hero:hover .hero__bg-img, .panel:hover .panel__bg-img { transform: scale(1.06); }
.hero__overlay, .panel__overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(15,20,25,.35) 0%, rgba(15,20,25,.55) 60%, rgba(15,20,25,.75) 100%);
}
.panel__overlay--dark { background: rgba(0,0,0,.65); }

.hero__inner { position: relative; z-index: 2; text-align: center; padding: 0 4vw; max-width: 900px; }
.hero__tag {
  display: inline-block; font-size: 13px; letter-spacing: 2px;
  color: rgba(255,255,255,.85); margin-bottom: 24px;
}
.hero__tag strong { color: #fff; font-weight: 600; }
.hero__title {
  font-size: clamp(32px, 5.2vw, 58px); font-weight: 500; line-height: 1.35;
  letter-spacing: 3px; margin-bottom: 24px; text-shadow: 0 4px 24px rgba(0,0,0,.35);
}
.hero__sub {
  font-size: clamp(15px, 1.7vw, 20px); color: rgba(255,255,255,.8);
  line-height: 1.9; margin: 0 auto 40px; max-width: 680px;
}
.hero__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* 右侧/左侧分页点 */
.hero__side-dots {
  position: absolute; right: 3vw; top: 50%; transform: translateY(-50%); z-index: 3;
  display: flex; flex-direction: column; gap: 14px;
}
.hero__side-dots--left { right: auto; left: 3vw; }
.dot {
  width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.35);
  transition: background .3s, transform .3s; cursor: pointer;
}
.dot.active { background: var(--brand); transform: scale(1.4); }

/* ===================== 按钮 ===================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 13px 32px; border-radius: 999px; font-size: 15px; font-weight: 500;
  cursor: pointer; transition: transform .2s, box-shadow .2s, opacity .2s; border: none;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  color: #0f1419; box-shadow: 0 8px 24px rgba(79, 209, 167, .25);
}
.btn--primary:hover { box-shadow: 0 12px 32px rgba(79, 209, 167, .35); }
.btn--ghost {
  background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { background: rgba(255,255,255,.18); }
.btn--block { width: 100%; }

/* ===================== 寻觅面板 ===================== */
.panel__layout {
  position: relative; z-index: 2; width: 100%; max-width: var(--maxw);
  padding: 0 4vw; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.panel__text { color: #fff; }
.panel__title {
  font-size: clamp(36px, 4.5vw, 56px); font-weight: 500; letter-spacing: 4px;
  margin-bottom: 20px; text-shadow: 0 4px 20px rgba(0,0,0,.35);
}
.panel__desc {
  font-size: clamp(15px, 1.6vw, 19px); color: rgba(255,255,255,.78);
  line-height: 2; margin-bottom: 32px; max-width: 520px;
}

/* 悬浮资料卡 */
.profile-cards {
  display: flex; flex-direction: column; gap: 20px;
}
.profile-card {
  background: var(--surface); border: 1px solid var(--surface-light);
  border-radius: var(--radius); padding: 28px; backdrop-filter: blur(18px);
  box-shadow: 0 24px 60px rgba(0,0,0,.35); max-width: 380px; color: #fff;
  animation: floatCard 6s ease-in-out infinite;
}
.profile-card--male { animation-delay: -3s; }
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.profile-card__school { display: flex; gap: 8px; margin-bottom: 16px; }
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 5px 10px; border-radius: 6px; font-size: 12px;
  background: rgba(79, 209, 167, .18); color: var(--brand); border: 1px solid rgba(79, 209, 167, .25);
}
.badge--light { background: rgba(255,255,255,.12); color: rgba(255,255,255,.9); border-color: rgba(255,255,255,.2); }
.profile-card__header { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.profile-card__avatar { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,.25); }
.profile-card__name { font-size: 22px; font-weight: 600; display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
.verified {
  width: 16px; height: 16px; border-radius: 50%; background: var(--brand);
  display: inline-grid; place-items: center; color: #0f1419; font-size: 10px;
}
.verified::before { content: '✓'; }
.profile-card__meta { font-size: 13px; color: rgba(255,255,255,.65); }
.profile-card__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.tag {
  padding: 7px 12px; border-radius: 8px; font-size: 13px;
  background: rgba(255,255,255,.1); color: rgba(255,255,255,.85); border: 1px solid rgba(255,255,255,.12);
}
.profile-card__location { font-size: 13px; color: rgba(255,255,255,.65); display: flex; align-items: center; gap: 6px; }
.profile-card__location i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(255,255,255,.4); display: inline-block; }

/* ===================== 脱单故事 ===================== */
.panel--stories { background: linear-gradient(135deg, #1a2330 0%, #2a3444 50%, #1f2a38 100%); }
.stories__gradient { position: absolute; inset: 0; background: radial-gradient(circle at 20% 30%, rgba(79,209,167,.08) 0%, transparent 50%), radial-gradient(circle at 80% 70%, rgba(59,130,246,.08) 0%, transparent 50%); }

.constellation {
  position: relative; z-index: 2; width: 100%; max-width: var(--maxw); height: 70vh; min-height: 520px;
  margin: 0 auto;
}
.story-circle {
  position: absolute; border-radius: 50%; object-fit: cover;
  border: 2px solid rgba(255,255,255,.2); box-shadow: 0 12px 40px rgba(0,0,0,.35);
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
  cursor: pointer;
}
.story-circle:hover { transform: scale(1.08); border-color: var(--brand); box-shadow: 0 16px 48px rgba(79,209,167,.2); }

/* 桌面端 constellation 位置 */
.s1 { width: 110px; height: 110px; left: 5%; top: 10%; }
.s2 { width: 86px; height: 86px; left: 22%; top: 4%; }
.s3 { width: 130px; height: 130px; left: 14%; top: 38%; }
.s4 { width: 78px; height: 78px; left: 34%; top: 18%; }
.s5 { width: 104px; height: 104px; left: 30%; top: 55%; }
.s6 { width: 92px; height: 92px; left: 48%; top: 8%; }
.s7 { width: 120px; height: 120px; left: 44%; top: 42%; }
.s8 { width: 72px; height: 72px; left: 58%; top: 68%; }
.s9 { width: 98px; height: 98px; left: 62%; top: 22%; }
.s10 { width: 84px; height: 84px; left: 74%; top: 52%; }

.story-quote {
  position: absolute; max-width: 240px; color: rgba(255,255,255,.85); font-size: 13px; line-height: 1.7;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 14px 18px;
  backdrop-filter: blur(8px);
}
.story-quote strong { display: block; color: #fff; font-size: 15px; margin-bottom: 2px; }
.story-quote span { display: block; color: var(--brand); font-size: 11px; margin-bottom: 8px; }
.q1 { left: 6%; bottom: 12%; }
.q2 { left: 36%; bottom: 8%; }

.panel__text--right { position: absolute; right: 4vw; top: 50%; transform: translateY(-50%); z-index: 3; max-width: 360px; text-align: right; }
.panel__text--right .panel__desc { margin-left: auto; }
.stories__qr { margin-top: 28px; text-align: right; }
.stories__qr img { width: 110px; height: 110px; border-radius: 10px; margin-left: auto; margin-bottom: 10px; object-fit: cover; background: #fff; }
.stories__qr span { font-size: 13px; color: rgba(255,255,255,.65); }

/* ===================== 线下门店 ===================== */
.store-card {
  position: relative; z-index: 2; width: 100%; max-width: 680px; padding: 0 4vw; color: #fff; text-align: center;
}
.store-card .eyebrow { margin-bottom: 16px; }
.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .2em;
  color: var(--brand); background: rgba(79, 209, 167, .12);
  padding: 6px 14px; border-radius: 999px;
}
.store-list { list-style: none; margin: 28px 0 32px; display: grid; gap: 14px; }
.store-list li { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 15px; color: rgba(255,255,255,.8); }
.store-list a:hover { color: var(--brand); }

/* ===================== 留资表单 ===================== */
.lead { background: #0b0f13; padding: 90px 4vw; }
.lead__inner {
  max-width: var(--maxw); margin: 0 auto; display: grid;
  grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.lead__text h2 { font-size: clamp(28px, 3.2vw, 40px); margin-bottom: 16px; }
.lead__text p { color: var(--ink-2); font-size: 16px; line-height: 1.8; max-width: 440px; }
.lead__form {
  background: var(--surface); border: 1px solid var(--surface-light); border-radius: var(--radius);
  padding: 32px; backdrop-filter: blur(10px);
}
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; color: rgba(255,255,255,.65); margin-bottom: 6px; }
.field input, .field select {
  width: 100%; padding: 13px 14px; border-radius: var(--radius-sm); border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.2); color: #fff; font-size: 16px; outline: none; transition: border-color .2s;
}
.field input:focus, .field select:focus { border-color: var(--brand); }
.field input.is-error, .field select.is-error { border-color: #ff6b6b; }
.field input::placeholder { color: rgba(255,255,255,.35); }
.field select option { background: #1a2330; color: #fff; }

/* ===================== 页脚 ===================== */
.footer { background: #080b0e; padding: 50px 4vw 100px; color: rgba(255,255,255,.55); font-size: 14px; }
.footer__inner {
  max-width: var(--maxw); margin: 0 auto; display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.footer strong { color: #fff; font-size: 18px; display: block; margin-bottom: 10px; }
.footer p { margin-bottom: 6px; }
.footer a:hover { color: var(--brand); }
.footer__copy { max-width: var(--maxw); margin: 28px auto 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.08); }

/* ===================== 底部固定二维码条 ===================== */
.bottom-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 99;
  height: var(--bottom-h); display: flex; align-items: center; justify-content: center; gap: 16px;
  padding: 0 4vw; background: rgba(8, 11, 14, .92); backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,.1);
}
.bottom-bar img { height: 56px; width: 56px; border-radius: 8px; object-fit: cover; background: #fff; }
.bottom-bar span { font-size: 14px; color: rgba(255,255,255,.85); }

/* ===================== Toast ===================== */
.toast {
  position: fixed; left: 50%; bottom: 100px; transform: translateX(-50%) translateY(20px);
  z-index: 200; padding: 12px 24px; border-radius: 999px; background: rgba(0,0,0,.85);
  color: #fff; font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s;
  border: 1px solid rgba(255,255,255,.12);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ===================== 响应式 ===================== */
@media (max-width: 1024px) {
  .panel__layout { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .profile-card { margin: 0 auto; }
  .panel__text { text-align: center; }
  .panel__desc { margin-left: auto; margin-right: auto; }
  .panel__text--right { position: static; transform: none; max-width: 600px; text-align: center; margin-top: 40px; }
  .panel__text--right .panel__desc { margin-left: auto; margin-right: auto; }
  .stories__qr { text-align: center; }
  .stories__qr img { margin: 0 auto 10px; }
  .constellation { height: auto; min-height: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 0 4vw; }
  .story-circle { position: static; width: 100% !important; height: auto !important; aspect-ratio: 1/1; }
  .story-quote { position: static; max-width: none; grid-column: span 4; }
}

@media (max-width: 768px) {
  :root { --nav-h: 56px; --bottom-h: 72px; }
  .nav__links { display: none; position: absolute; top: var(--nav-h); left: 0; right: 0; flex-direction: column; gap: 0; padding: 12px 4vw; background: rgba(15,20,25,.95); backdrop-filter: blur(12px); }
  .nav__links.open { display: flex; }
  .nav__links a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav__toggle { display: flex; }
  /* 导航品牌在小屏精简，避免两个 LOGO + 文字挤在一起 */
  .nav__brand-text small { display: none; }
  .nav__brand { gap: 8px; }
  .nav__logo { height: 30px; }
  .nav__logo--round { height: 28px; }
  .nav__brand span { font-size: 18px; letter-spacing: .5px; }
  /* hero 按钮堆叠居中，更易点按 */
  .hero__actions { width: 100%; max-width: 300px; margin: 0 auto; flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .hero__title { font-size: 28px; letter-spacing: 1px; }
  .hero__sub { font-size: 14px; }
  .hero__side-dots { display: none; }
  /* 区块在小屏给足上下留白，避免与固定导航/底栏重叠 */
  .panel__layout { padding: 84px 5vw; gap: 32px; }
  .profile-card { width: 100%; }
  .panel__title { font-size: 32px; letter-spacing: 2px; }
  .lead__inner { grid-template-columns: 1fr; gap: 36px; }
  .lead { padding: 70px 5vw; }
  .footer__inner { flex-direction: column; gap: 20px; }
  .bottom-bar { gap: 10px; padding: 0 3vw; }
  .bottom-bar span { font-size: 11px; text-align: center; line-height: 1.3; max-width: 60vw; }
  .bottom-bar img { height: 44px; width: 44px; }
}

@media (max-width: 480px) {
  .constellation { grid-template-columns: repeat(3, 1fr); }
  .story-quote { grid-column: span 3; }
  .profile-card { padding: 20px; }
  .lead__form { padding: 22px; }
  .hero__title { font-size: 24px; letter-spacing: .5px; }
  .hero__sub { font-size: 13px; }
  .panel__title { font-size: 26px; letter-spacing: 1px; }
  .nav__brand span { font-size: 16px; }
  .nav__logo { height: 28px; }
  .nav__logo--round { height: 26px; }
  .bottom-bar span { max-width: 52vw; }
}
