/* 星澜礼品网 — 首页「晨光潮汐」
 * 系统字体；与旧站深色卡片墙、与上一版青绿玻璃楼宇明显区分
 */
:root {
  --xl-ink: #101820;
  --xl-ink-soft: #2a3642;
  --xl-mute: #5c6b76;
  --xl-line: rgba(16, 24, 32, 0.1);
  --xl-paper: #e7eef1;
  --xl-foam: #f5f9fa;
  --xl-white: #ffffff;
  --xl-jade: #0f6b5c;
  --xl-jade-deep: #0a4f44;
  --xl-mist: #b7d4ce;
  --xl-sand: #c9a778;
  --xl-font-brand: "Songti SC", "STSong", "SimSun", "Noto Serif CJK SC", serif;
  --xl-font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Segoe UI", sans-serif;
  --xl-max: 1120px;
  --xl-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

.xl-home {
  font-family: var(--xl-font);
  color: var(--xl-ink);
  background:
    radial-gradient(720px 380px at 8% -4%, rgba(15, 107, 92, 0.1), transparent 60%),
    radial-gradient(640px 420px at 96% 8%, rgba(201, 167, 120, 0.14), transparent 55%),
    linear-gradient(180deg, #f2f7f8 0%, var(--xl-paper) 48%, #dfe9ec 100%);
  overflow-x: hidden;
}

.xl-home *,
.xl-home *::before,
.xl-home *::after {
  box-sizing: border-box;
}

.xl-home a {
  color: inherit;
  text-decoration: none;
}

.xl-shell {
  width: min(var(--xl-max), calc(100% - 48px));
  margin: 0 auto;
}

.xl-kicker {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--xl-jade);
}

.xl-h2 {
  margin: 0 0 14px;
  font-family: var(--xl-font-brand);
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 400;
  line-height: 1.22;
  letter-spacing: 0.05em;
  color: var(--xl-ink);
}

.xl-p {
  margin: 0;
  max-width: 32em;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--xl-mute);
}

.xl-intro {
  margin-bottom: 40px;
}

.xl-intro--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.xl-link {
  flex-shrink: 0;
  font-size: 0.92rem;
  font-weight: 650;
  color: var(--xl-jade);
  border-bottom: 1px solid rgba(15, 107, 92, 0.35);
  padding-bottom: 2px;
  transition: border-color 0.25s, color 0.25s;
}

.xl-link:hover {
  border-bottom-color: var(--xl-jade);
}

/* —— Buttons —— */
.xl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: 0.03em;
  transition: background 0.3s var(--xl-ease), color 0.3s var(--xl-ease),
    border-color 0.3s var(--xl-ease), transform 0.3s var(--xl-ease), box-shadow 0.3s var(--xl-ease);
}

.xl-btn--solid {
  background: var(--xl-jade);
  color: #fff;
  box-shadow: 0 10px 28px rgba(15, 107, 92, 0.22);
}

.xl-btn--solid:hover {
  background: var(--xl-jade-deep);
  color: #fff;
  transform: translateY(-2px);
}

.xl-btn--ghost {
  background: transparent;
  color: var(--xl-ink);
  border: 1px solid rgba(16, 24, 32, 0.22);
}

.xl-btn--ghost:hover {
  border-color: var(--xl-jade);
  color: var(--xl-jade);
}

.xl-btn--light,
.xl-home a.xl-btn--light {
  background: #fff;
  color: var(--xl-jade-deep);
}

.xl-btn--light:hover,
.xl-home a.xl-btn--light:hover {
  background: var(--xl-foam);
  color: var(--xl-jade-deep);
  transform: translateY(-2px);
}

/* —— Hero —— */
.xl-hero {
  position: relative;
  min-height: calc(100vh - 70px);
  min-height: 640px;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  overflow: hidden;
}

.xl-hero__media {
  position: absolute;
  inset: 0;
  z-index: -3;
  overflow: hidden;
}

.xl-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.06);
  filter: saturate(0.85) brightness(1.02) contrast(1.05);
  animation: xl-drift 28s var(--xl-ease) infinite alternate;
}

.xl-hero__veil {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(108deg, rgba(10, 36, 32, 0.78) 0%, rgba(10, 36, 32, 0.52) 36%, rgba(10, 36, 32, 0.18) 62%, rgba(10, 36, 32, 0.08) 100%),
    linear-gradient(0deg, rgba(231, 238, 241, 0.95) 0%, transparent 36%);
}

.xl-hero__wave {
  position: absolute;
  left: -8%;
  right: -8%;
  bottom: -18%;
  height: 42%;
  z-index: -1;
  background:
    radial-gradient(60% 80% at 20% 40%, rgba(15, 107, 92, 0.18), transparent 70%),
    radial-gradient(50% 70% at 78% 55%, rgba(201, 167, 120, 0.16), transparent 70%);
  filter: blur(2px);
  animation: xl-wave 12s ease-in-out infinite alternate;
}

.xl-hero__body {
  width: min(var(--xl-max), calc(100% - 48px));
  margin: 0 auto;
  padding: 0 0 88px;
  color: #fff;
  animation: xl-up 1s var(--xl-ease) both;
}

.xl-hero__brand {
  margin: 0 0 18px;
  font-family: var(--xl-font-brand);
  font-size: clamp(3.1rem, 8vw, 5.8rem);
  line-height: 1.02;
  letter-spacing: 0.08em;
  color: #fff;
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.25);
}

.xl-hero__title {
  margin: 0 0 14px;
  max-width: 12em;
  font-size: clamp(1.35rem, 2.5vw, 1.9rem);
  font-weight: 650;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.95);
}

.xl-hero__sub {
  margin: 0 0 34px;
  max-width: 28em;
  font-size: 1.02rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.78);
}

.xl-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 14px;
  align-items: center;
}

.xl-hero .xl-btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.xl-hero .xl-btn--ghost:hover {
  color: #fff;
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.xl-hero .xl-btn--solid {
  background: var(--xl-sand);
  color: #1a140c;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}

.xl-hero .xl-btn--solid:hover {
  background: #d8b888;
  color: #1a140c;
}

@keyframes xl-drift {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to { transform: scale(1.12) translate3d(-1.4%, -0.9%, 0); }
}

@keyframes xl-wave {
  from { transform: translateY(0) scale(1); opacity: 0.85; }
  to { transform: translateY(-18px) scale(1.04); opacity: 1; }
}

@keyframes xl-up {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

/* —— Sections —— */
.xl-sec {
  padding: 96px 0;
}

/* —— Flow steps —— */
.xl-flow {
  background: var(--xl-white);
  border-block: 1px solid var(--xl-line);
}

.xl-flow__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px 72px;
  align-items: start;
}

.xl-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 2px solid rgba(15, 107, 92, 0.18);
}

.xl-steps li {
  position: relative;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 8px 18px;
  padding: 22px 0 22px 28px;
}

.xl-steps li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 30px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--xl-jade);
  box-shadow: 0 0 0 4px rgba(15, 107, 92, 0.12);
}

.xl-steps__n {
  font-family: var(--xl-font-brand);
  font-size: 1.45rem;
  letter-spacing: 0.06em;
  color: var(--xl-jade);
  line-height: 1.2;
}

.xl-steps strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.08rem;
  font-weight: 650;
}

.xl-steps span:not(.xl-steps__n) {
  display: block;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--xl-mute);
}

/* —— Rate board —— */
.xl-board {
  background: transparent;
}

.xl-board__list {
  display: flex;
  flex-direction: column;
  background: var(--xl-white);
  border: 1px solid var(--xl-line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(16, 24, 32, 0.05);
}

.xl-row {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 16px 22px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--xl-line);
  transition: background 0.28s var(--xl-ease), padding-left 0.28s var(--xl-ease);
}

.xl-row:last-child {
  border-bottom: 0;
}

.xl-row:hover {
  background: rgba(15, 107, 92, 0.04);
  padding-left: 28px;
}

.xl-row__ico {
  width: 64px;
  height: 52px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #dcebe7, #f3f8f7);
  border-radius: 10px;
}

.xl-row__ico img {
  max-width: 44px;
  max-height: 36px;
  object-fit: contain;
}

.xl-row__name {
  font-size: 1.05rem;
  font-weight: 650;
}

.xl-row__rate {
  font-family: var(--xl-font-brand);
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  color: var(--xl-jade);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.xl-row__go {
  font-size: 0.88rem;
  font-weight: 650;
  color: var(--xl-ink);
  white-space: nowrap;
  border-bottom: 1px solid rgba(16, 24, 32, 0.35);
  padding-bottom: 1px;
  transition: color 0.25s, border-color 0.25s;
}

.xl-row:hover .xl-row__go {
  color: var(--xl-jade);
  border-bottom-color: var(--xl-jade);
}

/* —— Trust —— */
.xl-trust {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  min-height: 540px;
  background: var(--xl-white);
  border-block: 1px solid var(--xl-line);
}

.xl-trust__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px clamp(28px, 5vw, 80px);
}

.xl-bullets {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
}

.xl-bullets li {
  position: relative;
  padding: 18px 0 18px 18px;
  border-top: 1px solid var(--xl-line);
}

.xl-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 26px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--xl-sand);
}

.xl-bullets strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.02rem;
}

.xl-bullets span {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--xl-mute);
}

.xl-trust__shot {
  position: relative;
  min-height: 420px;
  overflow: hidden;
}

.xl-trust__shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.18), transparent 30%);
  pointer-events: none;
}

.xl-trust__shot img {
  width: 100%;
  height: 100%;
  min-height: 540px;
  object-fit: cover;
  display: block;
  filter: saturate(0.92);
}

/* —— FAQ —— */
.xl-faq {
  background:
    linear-gradient(180deg, rgba(183, 212, 206, 0.22), transparent 40%),
    var(--xl-foam);
}

.xl-faq__wrap {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px 72px;
  align-items: start;
}

.xl-faq__list details {
  border-bottom: 1px solid var(--xl-line);
}

.xl-faq__list summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 44px 22px 0;
  font-size: 1.05rem;
  font-weight: 650;
  position: relative;
}

.xl-faq__list summary::-webkit-details-marker {
  display: none;
}

.xl-faq__list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--xl-jade);
}

.xl-faq__list details[open] summary::after {
  content: "–";
}

.xl-faq__list p {
  margin: 0 0 20px;
  padding-right: 36px;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--xl-mute);
}

/* —— Close band —— */
.xl-close {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(700px 360px at 12% 20%, rgba(201, 167, 120, 0.22), transparent 60%),
    radial-gradient(560px 320px at 90% 80%, rgba(255, 255, 255, 0.08), transparent 55%),
    linear-gradient(135deg, #0a4f44 0%, #0f6b5c 48%, #14806d 100%);
}

.xl-close::before {
  content: "";
  position: absolute;
  inset: auto -10% -40% -10%;
  height: 70%;
  background: radial-gradient(50% 60% at 50% 0%, rgba(255, 255, 255, 0.12), transparent 70%);
  animation: xl-wave 10s ease-in-out infinite alternate;
  pointer-events: none;
}

.xl-close__brand {
  margin: 0 0 12px;
  font-family: var(--xl-font-brand);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  letter-spacing: 0.1em;
}

.xl-close__title {
  margin: 0 0 12px;
  font-size: clamp(1.55rem, 2.8vw, 2.1rem);
  font-weight: 650;
  line-height: 1.35;
}

.xl-close__sub {
  margin: 0 0 30px;
  max-width: 28em;
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.78);
}

/* —— Motion —— */
.xl-rise {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s var(--xl-ease), transform 0.75s var(--xl-ease);
}

.xl-rise.is-on {
  opacity: 1;
  transform: translateY(0);
}

.xl-board__list .xl-row:nth-child(1) { transition-delay: 0.02s; }
.xl-board__list .xl-row:nth-child(2) { transition-delay: 0.06s; }
.xl-board__list .xl-row:nth-child(3) { transition-delay: 0.1s; }
.xl-board__list .xl-row:nth-child(4) { transition-delay: 0.14s; }
.xl-board__list .xl-row:nth-child(5) { transition-delay: 0.18s; }
.xl-board__list .xl-row:nth-child(6) { transition-delay: 0.22s; }

@media (max-width: 960px) {
  .xl-flow__grid,
  .xl-faq__wrap,
  .xl-trust {
    grid-template-columns: 1fr;
  }

  .xl-trust__shot img {
    min-height: 280px;
  }

  .xl-row {
    grid-template-columns: 56px minmax(0, 1fr) auto;
    grid-template-areas:
      "ico name rate"
      "ico go go";
  }

  .xl-row__ico { grid-area: ico; }
  .xl-row__name { grid-area: name; }
  .xl-row__rate { grid-area: rate; }
  .xl-row__go { grid-area: go; justify-self: start; }
}

@media (max-width: 640px) {
  .xl-hero {
    min-height: 560px;
  }

  .xl-hero__body,
  .xl-shell {
    width: min(var(--xl-max), calc(100% - 32px));
  }

  .xl-hero__body {
    padding-bottom: 56px;
  }

  .xl-hero__veil {
    background:
      linear-gradient(180deg, rgba(16, 24, 32, 0.35) 0%, rgba(16, 24, 32, 0.62) 42%, rgba(16, 24, 32, 0.82) 100%);
  }

  .xl-sec {
    padding: 68px 0;
  }

  .xl-intro--row {
    flex-direction: column;
    align-items: flex-start;
  }

  .xl-trust__copy {
    padding: 44px 24px 48px;
  }

  .xl-row {
    padding: 16px 16px;
  }

  .xl-btn--solid,
  .xl-btn--light {
    width: 100%;
  }

  .xl-hero__cta {
    width: 100%;
  }

  .xl-hero .xl-btn--ghost {
    width: 100%;
  }
}
