/* 91pro.beauty 首页专属样式 */

.hp-main {
  overflow-x: hidden;
}

/* Hero */
.bty-hero {
  position: relative;
  padding: 56px 0 0;
  min-height: 620px;
}

.bty-hero-mesh {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.bty-hero-mesh::before {
  content: "";
  position: absolute;
  width: 55%;
  height: 70%;
  top: -10%;
  right: -8%;
  background: radial-gradient(ellipse, rgba(255, 153, 0, 0.16) 0%, transparent 65%);
}

.bty-hero-mesh::after {
  content: "";
  position: absolute;
  width: 45%;
  height: 55%;
  bottom: 5%;
  left: -5%;
  background: radial-gradient(ellipse, rgba(232, 67, 147, 0.1) 0%, transparent 65%);
}

.bty-hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
  padding-bottom: 48px;
}

.bty-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(232, 67, 147, 0.28);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.bty-tag::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: bty-blink 2s ease infinite;
}

@keyframes bty-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.bty-hero h1 {
  font-size: clamp(1.85rem, 4.2vw, 2.85rem);
  line-height: 1.22;
  font-weight: 800;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.bty-hero h1 strong {
  display: block;
  background: linear-gradient(90deg, var(--primary), #ffb84d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bty-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  max-width: 520px;
}

.bty-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.bty-chip {
  font-size: 0.82rem;
  padding: 6px 14px;
  border-radius: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.bty-hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.bty-phones {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 12px;
  min-height: 380px;
}

.bty-phone {
  border-radius: 22px;
  overflow: hidden;
  border: 2px solid var(--border);
  box-shadow: var(--shadow);
  background: #000;
}

.bty-phone--main {
  width: 220px;
  z-index: 2;
  transform: translateY(-8px);
}

.bty-phone--side {
  width: 160px;
  opacity: 0.75;
  transform: translateY(24px);
}

.bty-phone img {
  width: 100%;
  aspect-ratio: 9/16;
  object-fit: cover;
  object-position: top;
}

.bty-float {
  position: absolute;
  background: rgba(20, 19, 42, 0.92);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 16px;
  font-size: 0.82rem;
  color: var(--text-muted);
  backdrop-filter: blur(8px);
  z-index: 3;
}

.bty-float strong {
  display: block;
  color: var(--primary);
  font-size: 1rem;
}

.bty-float--tl { top: 8%; left: 0; }
.bty-float--br { bottom: 12%; right: 0; }

/* Stats strip */
.bty-stats {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(20, 19, 42, 0.5);
}

.bty-stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.bty-stat {
  padding: 28px 20px;
  text-align: center;
  border-right: 1px solid var(--border);
}

.bty-stat:last-child {
  border-right: none;
}

.bty-stat strong {
  display: block;
  font-size: 1.35rem;
  color: var(--primary);
  margin-bottom: 4px;
}

.bty-stat span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Sections */
.bty-section {
  padding: 72px 0;
}

.bty-section--alt {
  background: #0e0d1e;
}

.bty-head {
  margin-bottom: 44px;
}

.bty-head--center {
  text-align: center;
}

.bty-head--center p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 10px auto 0;
}

.bty-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.bty-head h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
}

/* Bento grid */
.bty-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 18px;
}

.bty-bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.25s, transform 0.25s;
}

.bty-bento-card:hover {
  border-color: rgba(255, 153, 0, 0.4);
  transform: translateY(-3px);
}

.bty-bento-card--wide {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
  padding: 0;
  overflow: hidden;
}

.bty-bento-card--wide img {
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
  object-position: top;
}

.bty-bento-card--wide .bty-bento-body {
  padding: 28px;
}

.bty-bento-icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.bty-bento-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--text);
}

.bty-bento-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.bty-bento-card--vip {
  background: linear-gradient(145deg, #1a1535, #221a42);
  border-color: rgba(255, 153, 0, 0.3);
}

/* Feature rows */
.bty-features {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.bty-feat {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.bty-feat--flip .bty-feat-media { order: 2; }
.bty-feat--flip .bty-feat-body { order: 1; }

.bty-feat-media img {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  max-width: 320px;
  margin: 0 auto;
}

.bty-feat-num {
  font-size: 3rem;
  font-weight: 800;
  color: rgba(255, 153, 0, 0.15);
  line-height: 1;
  margin-bottom: 8px;
}

.bty-feat-body h3 {
  font-size: 1.35rem;
  margin-bottom: 14px;
}

.bty-feat-body p {
  color: var(--text-muted);
  margin-bottom: 16px;
}

.bty-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bty-tags span {
  font-size: 0.78rem;
  padding: 4px 12px;
  border-radius: 6px;
  background: rgba(77, 136, 255, 0.1);
  color: #6ea8ff;
  border: 1px solid rgba(77, 136, 255, 0.2);
}

/* Category grid */
.bty-cats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.bty-cat {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 3/4;
}

.bty-cat img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.35s;
}

.bty-cat:hover img {
  transform: scale(1.05);
}

.bty-cat span {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  font-size: 0.88rem;
  font-weight: 600;
  text-align: center;
}

/* Gallery scroll */
.bty-scroll-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 12px;
  margin: 0 -20px;
  padding-left: 20px;
  padding-right: 20px;
}

.bty-scroll {
  display: flex;
  gap: 16px;
  width: max-content;
}

.bty-scroll-item {
  flex: 0 0 180px;
  text-align: center;
}

.bty-scroll-item img {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  aspect-ratio: 9/16;
  object-fit: cover;
  object-position: top;
  width: 180px;
}

.bty-scroll-item figcaption {
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Download */
.bty-dl-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: start;
}

.bty-dl-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
}

.bty-steps {
  list-style: none;
  margin-top: 28px;
}

.bty-steps li {
  display: flex;
  gap: 18px;
  padding-bottom: 28px;
  position: relative;
}

.bty-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 17px;
  top: 40px;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.bty-step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #000;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.bty-step-body h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.bty-step-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.bty-dl-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.bty-dl-preview img {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  aspect-ratio: 9/16;
  object-fit: cover;
  object-position: top;
}

/* Article sidebar */
.bty-article-wrap {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  align-items: start;
}

.bty-toc {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.bty-toc h3 {
  font-size: 0.9rem;
  margin-bottom: 14px;
  color: var(--text);
}

.bty-toc nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bty-toc a {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-left: 10px;
  border-left: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

.bty-toc a:hover {
  color: var(--primary);
  border-left-color: var(--primary);
}

/* FAQ */
.bty-faq {
  max-width: 800px;
  margin: 0 auto;
}

/* CTA */
.bty-cta {
  padding: 64px 0;
  background: linear-gradient(135deg, #1a1238 0%, #0f0e22 50%, #1a0f28 100%);
  border-top: 1px solid var(--border);
}

.bty-cta-box {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.bty-cta-box h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  margin-bottom: 14px;
}

.bty-cta-box p {
  color: var(--text-muted);
  margin-bottom: 28px;
}

/* Responsive */
@media (max-width: 1024px) {
  .bty-bento {
    grid-template-columns: 1fr 1fr;
  }

  .bty-bento-card--wide {
    grid-column: span 2;
  }

  .bty-cats {
    grid-template-columns: repeat(3, 1fr);
  }

  .bty-article-wrap {
    grid-template-columns: 1fr;
  }

  .bty-toc {
    position: static;
  }
}

@media (max-width: 768px) {
  .bty-hero-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .bty-phones {
    min-height: 300px;
  }

  .bty-phone--main { width: 180px; }
  .bty-phone--side { width: 130px; display: none; }

  .bty-stats-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .bty-stat:nth-child(2) { border-right: none; }
  .bty-stat:nth-child(1),
  .bty-stat:nth-child(2) {
    border-bottom: 1px solid var(--border);
  }

  .bty-bento {
    grid-template-columns: 1fr;
  }

  .bty-bento-card--wide {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }

  .bty-feat,
  .bty-feat--flip {
    grid-template-columns: 1fr;
  }

  .bty-feat--flip .bty-feat-media,
  .bty-feat--flip .bty-feat-body {
    order: unset;
  }

  .bty-cats {
    grid-template-columns: repeat(2, 1fr);
  }

  .bty-dl-grid {
    grid-template-columns: 1fr;
  }

  .bty-section {
    padding: 48px 0;
  }

  .bty-hero-btns {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .bty-float { display: none; }
  .bty-cats { gap: 10px; }
}
