/* BanBan 伴伴 — 米色 / 香槟金落地页 */

:root {
  --cream: #fdf8f2;
  --cream-2: #f5ebe0;
  --paper: #fffdfb;
  --gold: #c9a063;
  --gold-bright: #d4af6a;
  --gold-soft: rgba(201, 160, 99, 0.2);
  --gold-deep: #8f6f38;
  --ink: #2a2622;
  --muted: #5c574e;
  --night: #1a1714;
  --night-2: #242019;
  --radius-card: 18px;
  --radius-pill: 999px;
  --shadow: 0 16px 48px rgba(42, 32, 24, 0.09);
  --shadow-hover: 0 22px 56px rgba(42, 32, 24, 0.12);
  --w-wrap: min(1160px, 92vw);
  --hdr: 74px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans SC", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  width: var(--w-wrap);
  margin-inline: auto;
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* —— Header —— */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--hdr);
  display: flex;
  align-items: center;
  background: linear-gradient(
    180deg,
    rgba(26, 23, 20, 0.88) 0%,
    rgba(26, 23, 20, 0.45) 65%,
    transparent 100%
  );
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

.site-header.theme-light {
  background: rgba(253, 248, 242, 0.94);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(42, 32, 24, 0.06);
}

.site-header.theme-light .logo {
  color: var(--ink);
}

.site-header.theme-light .nav-main a {
  color: var(--muted);
}

.site-header.theme-light .nav-main a:hover {
  color: var(--gold-deep);
}

.site-header.theme-light .nav-main a.is-active {
  color: var(--ink);
  border-bottom-color: var(--gold);
}

.site-header.theme-light .nav-toggle span {
  background: var(--ink);
}

.site-header.theme-light .header-cta {
  box-shadow: 0 6px 20px rgba(201, 160, 99, 0.35);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  width: 100%;
}

.logo {
  font-weight: 700;
  font-size: 1.14rem;
  letter-spacing: 0.03em;
  color: #fff;
  transition: color 0.3s ease;
}

.logo span {
  font-weight: 500;
}

.nav-main {
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 2.5vw, 2rem);
  flex-wrap: wrap;
}

.nav-main a {
  font-size: 0.93rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  padding-bottom: 5px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-main a:hover {
  color: var(--gold-bright);
}

.nav-main a.is-active {
  border-bottom-color: var(--gold-bright);
}

.header-cta {
  justify-self: end;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: background 0.3s ease;
}

.nav-drawer {
  display: none;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.52rem 1.28rem;
  font-family: inherit;
  font-size: 0.94rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

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

.btn:hover {
  transform: translateY(-1px);
}

.btn-gold {
  background: linear-gradient(148deg, #e0c88a 0%, var(--gold) 42%, var(--gold-deep) 100%);
  color: #1a1410;
  box-shadow: 0 8px 28px rgba(201, 160, 99, 0.42);
}

.btn-lg {
  padding: 0.72rem 1.82rem;
  font-size: 1rem;
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.btn-ghost:hover {
  border-color: var(--gold-bright);
  color: var(--gold-bright);
}

.site-header.theme-light .btn-ghost {
  border-color: rgba(42, 38, 34, 0.25);
  color: var(--ink);
}

.site-header.theme-light .btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-deep);
}

.btn-wide {
  width: 100%;
  margin-top: 0.5rem;
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: min(100vh, 920px);
  padding-top: calc(var(--hdr) + 3rem);
  padding-bottom: 4rem;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, #2a231c 0%, #1f1a16 50%, #181410 100%);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(15, 13, 11, 0.92) 0%,
    rgba(26, 22, 18, 0.55) 48%,
    rgba(35, 30, 26, 0.2) 100%
  );
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 1.02fr);
  gap: clamp(1.25rem, 4vw, 3rem);
  align-items: center;
}

.hero-copy {
  max-width: 496px;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.95rem, 4.2vw, 2.75rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.22;
}

.hero-lead {
  margin: 0 0 1.6rem;
  font-size: 1.045rem;
  line-height: 1.82;
  color: rgba(255, 255, 255, 0.87);
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.hero-badges {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.7);
}

.hero-badges li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.hb-ic {
  display: inline-flex;
  color: var(--gold-bright);
  filter: drop-shadow(0 0 12px rgba(212, 175, 106, 0.25));
}

.hero-figure {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 620px;
  margin: 0;
}

.hero-shot {
  border-radius: 20px;
  width: 100%;
  height: min(70vh, 600px);
  object-fit: cover;
  object-position: 76% center;
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(212, 175, 106, 0.12);
}

.hero-bubble {
  position: absolute;
  top: 14%;
  left: 8%;
  max-width: 220px;
  margin: 0;
  padding: 0.65rem 0.95rem;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.48;
  color: rgba(255, 255, 255, 0.96);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  backdrop-filter: blur(12px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
}

.hero-bubble::after {
  content: "";
  position: absolute;
  left: 1.25rem;
  bottom: -7px;
  border: 6px solid transparent;
  border-top-color: rgba(255, 255, 255, 0.1);
}

/* —— Bands —— */
.band {
  padding: clamp(3.25rem, 7vw, 5rem) 0;
}

.band-tight {
  padding-top: clamp(2rem, 4vw, 2.75rem);
}

.band-cream {
  background: var(--cream);
}

.h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 2.9vw, 1.92rem);
  font-weight: 700;
  letter-spacing: 0.035em;
  color: var(--ink);
}

.h2.center {
  text-align: center;
}

.lead.center {
  text-align: center;
  margin: 0 auto 2rem;
}

.lead.center,
.lead {
  max-width: 560px;
  color: var(--muted);
  font-size: 1.02rem;
}

.row-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  margin-bottom: 0.5rem;
}

.row-title .h2 {
  margin: 0;
}

.h2.center + .lead {
  margin-top: 0.35rem;
  margin-bottom: 2rem;
}

.h2.center + .grid-3,
.h2.center + .grid-4,
.h2.center + .grid-5,
.h2.center + .app-row {
  margin-top: 2rem;
}

.row-title + .lead {
  margin-top: 0.25rem;
  margin-bottom: 2rem;
}

.pill {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold-deep);
  background: var(--gold-soft);
}

/* —— Cards —— */
.card {
  background: var(--paper);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  padding: 1.65rem 1.45rem;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

@media (hover: hover) {
  .card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
  }
}

.icon-gold {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #241c0c;
  background: linear-gradient(145deg, #e9d29a 0%, var(--gold) 52%, var(--gold-deep) 100%);
  box-shadow: 0 10px 28px rgba(201, 160, 99, 0.35);
}

.card h3 {
  margin: 1rem 0 0.5rem;
  font-size: 1.08rem;
}

.card > p:last-child {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.62;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

/* Pet cards */
.card-pet {
  text-align: center;
  padding-bottom: 1.85rem;
}

.pet-visual {
  width: 132px;
  height: 132px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  box-shadow:
    inset 0 -16px 32px rgba(0, 0, 0, 0.05),
    0 14px 36px rgba(201, 160, 99, 0.15);
}

.pet-sleep {
  background: radial-gradient(circle at 50% 35%, #2e2838 0%, #584a68 42%, #6d5f7f 100%);
}

.pet-sleep::before {
  content: "★";
  display: block;
  padding-top: 18%;
  color: var(--gold-bright);
  font-size: 1.3rem;
}

.pet-heart {
  background: radial-gradient(circle at 45% 30%, #fff0f5 0%, #f0c8d8 50%, #c498a8 100%);
}

.pet-heart::before {
  content: "♥";
  display: block;
  padding-top: 38%;
  color: #b84a5c;
  font-size: 2rem;
  line-height: 0;
}

.pet-wave {
  background: radial-gradient(circle at 40% 28%, #fff9ec 0%, #ead8c4 52%, #c9b498 100%);
}

.pet-wave::before {
  content: "(◠‿◠)";
  display: block;
  padding-top: 42%;
  font-size: 0.95rem;
  color: #5c4838;
}

/* Scenes */
.card-scene {
  padding: 0;
  overflow: hidden;
}

.scene-img {
  height: 216px;
  background-size: cover;
  background-position: center;
}

.scene-a {
  background-image:
    linear-gradient(180deg, rgba(253, 248, 242, 0), rgba(30, 24, 18, 0.25)),
    url("https://images.unsplash.com/photo-1522771739844-6a9f6d5f14af?auto=format&fit=crop&w=900&q=80");
}

.scene-b {
  background-image:
    linear-gradient(180deg, rgba(253, 248, 242, 0), rgba(26, 20, 16, 0.35)),
    url("https://images.unsplash.com/photo-1540555700478-4be289fbecef?auto=format&fit=crop&w=900&q=80");
}

.scene-c {
  background-image:
    linear-gradient(180deg, rgba(253, 248, 242, 0), rgba(26, 22, 18, 0.28)),
    url("https://images.unsplash.com/photo-1506126613408-eca07ce68773?auto=format&fit=crop&w=900&q=80");
}

.scene-body {
  padding: 1.35rem 1.4rem 1.65rem;
}

.scene-body h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.scene-body p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

/* Methods */
.method {
  text-align: center;
  padding: 0.35rem;
}

.method-ring {
  width: 64px;
  height: 64px;
  margin: 0 auto 0.72rem;
  border-radius: 50%;
  border: 2px solid rgba(201, 160, 99, 0.45);
  background: linear-gradient(180deg, #fffdfb 0%, var(--cream-2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.42rem;
  box-shadow: 0 6px 18px rgba(201, 160, 99, 0.12);
}

.method h4 {
  margin: 0 0 0.35rem;
  font-size: 0.98rem;
}

.method p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}

/* Combo */
.combo .card-combo {
  text-align: center;
  padding: 1.85rem 1.35rem;
}

.combo-img {
  height: 150px;
  margin-bottom: 1.15rem;
  border-radius: 14px;
  background: var(--cream-2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.combo-band {
  background: linear-gradient(145deg, #d8d8dc 0%, #717178 42%, #4a4a50 100%);
  position: relative;
}

.combo-band::after {
  content: "";
  position: absolute;
  width: 55%;
  height: 26%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 7px;
  background: linear-gradient(90deg, #b8924a, #e4cc88, #9a7430);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.combo-phones {
  gap: 0.45rem;
  background: linear-gradient(180deg, #ede6dc 0%, var(--cream) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.combo-phones span {
  width: 40px;
  height: 80px;
  border-radius: 7px;
  background: linear-gradient(180deg, #2f2f33 0%, #151517 100%);
  border: 2px solid #3f3f46;
}

.combo-crown {
  background: radial-gradient(circle at 50% 38%, rgba(255, 230, 185, 0.95) 0%, rgba(201, 160, 99, 0.28) 45%, var(--night-2) 100%);
}

.combo-crown span {
  font-size: 2.85rem;
  color: var(--gold-bright);
  text-shadow: 0 0 28px rgba(255, 220, 150, 0.75);
}

/* App phones */
.app-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.35rem;
}

.app-item {
  width: 128px;
  text-align: center;
}

.phone {
  height: 232px;
  border-radius: 22px;
  margin: 0 auto 0.82rem;
  border: 3px solid #2c2c30;
  display: flex;
  align-items: center;
  justify-content: center;
}

.p1 {
  background: linear-gradient(165deg, #ffd6e8 0%, rgba(201, 160, 99, 0.35) 40%, #2a2630 100%);
}

.p2 {
  background: linear-gradient(165deg, #1e1c28 0%, #4a4468 100%);
}

.p3 {
  background: linear-gradient(165deg, #f8f3eb 0%, rgba(201, 160, 99, 0.25) 55%, #2c2926 100%);
}

.p4 {
  background: linear-gradient(165deg, #ffeef6 0%, #daa0b8 100%);
}

.p5 {
  background: linear-gradient(165deg, #162218 0%, #4a6352 100%);
}

.app-item h4 {
  margin: 0 0 0.32rem;
  font-size: 0.96rem;
}

.app-item p {
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
}

/* Quotes */
.quote {
  padding: 1.6rem 1.3rem;
}

.quote cite {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: baseline;
  font-style: normal;
  font-weight: 700;
  font-size: 0.98rem;
}

.quote cite span {
  font-weight: 500;
  font-size: 0.84rem;
  color: var(--muted);
}

.quote p {
  margin: 0.65rem 0 0.75rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.stars {
  color: var(--gold);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
}

.avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-bottom: 0.95rem;
  background: var(--cream-2) center/cover no-repeat;
  border: 2px solid var(--gold-soft);
}

.avatar.a1 {
  background-image: url("https://images.unsplash.com/photo-1494790108377-be9c29b29330?w=160&q=80");
}

.avatar.a2 {
  background-image: url("https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?w=160&q=80");
}

.avatar.a3 {
  background-image: url("https://images.unsplash.com/photo-1438761681033-6461ffad8d80?w=160&q=80");
}

/* Footer CTA */
.foot-cta {
  position: relative;
  padding: clamp(3.5rem, 8vw, 5rem) 0;
  color: #fff;
  overflow: hidden;
}

.foot-bg {
  position: absolute;
  inset: 0;
  background: url("https://images.unsplash.com/photo-1513694203232-719a280e022f?auto=format&fit=crop&w=1600&q=80") center/cover no-repeat;
}

.foot-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(92deg, rgba(18, 15, 12, 0.94) 0%, rgba(28, 24, 20, 0.78) 48%, rgba(22, 19, 16, 0.55) 100%);
}

.foot-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(240px, 0.94fr);
  gap: 2rem;
  align-items: center;
}

.foot-copy h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.45rem, 3vw, 1.95rem);
  font-weight: 700;
  letter-spacing: 0.038em;
  line-height: 1.3;
}

.foot-sub {
  margin: 0 0 1.65rem;
  font-size: 1.06rem;
  color: rgba(255, 255, 255, 0.75);
}

.foot-visual {
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.foot-device {
  width: min(100%, 380px);
  aspect-ratio: 4/3;
  border-radius: 20px;
  background:
    radial-gradient(circle at 70% 40%, rgba(201, 160, 99, 0.22) 0%, transparent 50%),
    linear-gradient(155deg, #3a3632 0%, #1f1c18 55%, #0f0e0d 100%);
  box-shadow:
    0 32px 64px rgba(0, 0, 0, 0.4),
    inset 0 -24px 48px rgba(0, 0, 0, 0.25);
  position: relative;
}

.foot-device::before {
  content: "";
  position: absolute;
  left: 18%;
  top: 50%;
  transform: translateY(-50%);
  width: 42%;
  height: 18%;
  border-radius: 6px;
  background: linear-gradient(90deg, #a4823a, #d8c078, #7a6228);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.foot-policies {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.5rem;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.5);
}

.site-foot {
  background: var(--night);
  padding: 1.2rem 0;
}

.site-foot p {
  margin: 0;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

/* —— Mobile —— */
@media (max-width: 992px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-5 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .header-inner {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
  }

  .logo {
    grid-column: 1;
    grid-row: 1;
  }

  .nav-main {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-drawer {
    grid-column: 1 / -1;
    grid-row: 2;
    display: flex;
    flex-direction: column;
    gap: 0;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    pointer-events: none;
    transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.25s ease;
  }

  .site-header.menu-open .nav-drawer {
    max-height: 440px;
    opacity: 1;
    pointer-events: auto;
    padding: 0.85rem 0 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 0.65rem;
  }

  .site-header.theme-light.menu-open .nav-drawer {
    border-top-color: rgba(42, 32, 24, 0.1);
  }

  .nav-drawer a {
    padding: 0.78rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.97rem;
  }

  .site-header.theme-light .nav-drawer a {
    color: var(--ink);
    border-bottom-color: rgba(42, 32, 24, 0.08);
  }

  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-figure {
    order: -1;
    justify-self: center;
    max-width: min(460px, 100%);
  }

  .hero-copy {
    margin-inline: auto;
    max-width: 100%;
    text-align: center;
  }

  .hero-badges {
    justify-content: center;
  }

  .hero-btns {
    justify-content: center;
  }

  .hero-shot {
    height: min(48vh, 400px);
  }

  .foot-grid {
    grid-template-columns: 1fr;
  }

  .foot-visual {
    justify-content: center;
  }

  .grid-3,
  .grid-4,
  .grid-5 {
    grid-template-columns: 1fr;
  }

  .app-row {
    flex-direction: column;
    align-items: center;
  }

  .app-item {
    width: auto;
    max-width: 200px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn:hover,
  .card:hover {
    transform: none;
  }
}
