/* ========================================
   摄影专题页 — 淡紫色现代简约主题
   ======================================== */

:root {
  --color-primary: #9b7fd4;
  --color-primary-light: #c4b5fd;
  --color-primary-dark: #7c5cbf;
  --color-primary-bg: #f5f0fc;
  --color-primary-bg-deep: #ebe4f7;

  --color-text: #2d2640;
  --color-text-muted: #6b6280;
  --color-text-light: #958da8;

  --color-white: #ffffff;
  --color-border: #e8e0f0;
  --color-shadow: rgba(124, 92, 191, 0.12);
  --color-shadow-hover: rgba(124, 92, 191, 0.22);

  --font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --header-height: 64px;
  --transition: 0.25s ease;
  --container-max: 1120px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--color-primary-dark);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-primary);
}

ul, ol {
  list-style: none;
}

.hidden {
  display: none !important;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- 按钮 ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 500;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
}

.btn--primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: var(--color-white);
  box-shadow: 0 4px 16px var(--color-shadow);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px var(--color-shadow-hover);
  color: var(--color-white);
}

.btn--outline {
  background: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary-dark);
}

.btn--outline:hover {
  background: var(--color-primary-bg);
  color: var(--color-primary-dark);
}

.btn--sm {
  padding: 8px 20px;
  font-size: 0.875rem;
}

/* ---- 导航栏 ---- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  z-index: 1000;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav__logo {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--color-text);
}

.nav__menu {
  display: flex;
  gap: 32px;
}

.nav__link {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width var(--transition);
}

.nav__link:hover,
.nav__link.active {
  color: var(--color-primary-dark);
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: all var(--transition);
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-height) + 48px) 0 80px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(196, 181, 253, 0.28) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(155, 127, 212, 0.16) 0%, transparent 55%),
    linear-gradient(180deg, rgba(249, 247, 255, 0.45) 0%, rgba(255, 255, 255, 0.55) 100%),
    url('../images/bg-xhs-profile.jpg') center / cover no-repeat;
  z-index: -1;
}

.hero__content {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  align-items: center;
}

.hero__avatar {
  width: 280px;
  height: 280px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px var(--color-shadow);
  border: 4px solid var(--color-white);
}

.hero__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__label {
  font-size: 0.875rem;
  color: var(--color-primary-dark);
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.hero__name {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--color-text) 0%, var(--color-primary-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__slogan {
  font-size: 1.05rem;
  color: var(--color-primary-dark);
  font-weight: 500;
  font-style: italic;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.hero__id {
  font-size: 1rem;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.hero__ip {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

.hero__ip-tag {
  background: var(--color-primary-bg-deep);
  color: var(--color-primary-dark);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 500;
}

.hero__intro {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 28px;
  max-width: 540px;
}

.hero__stats {
  display: flex;
  gap: 32px;
  margin-bottom: 32px;
}

.hero__stat {
  display: flex;
  flex-direction: column;
}

.hero__stat-num {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary-dark);
}

.hero__stat-label {
  font-size: 0.8rem;
  color: var(--color-text-light);
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---- Section 通用 ---- */
.section {
  padding: 96px 0;
}

.section:nth-child(even) {
  background: var(--color-primary-bg);
}

.section__header {
  text-align: center;
  margin-bottom: 48px;
}

.section__title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-text);
}

.section__subtitle {
  font-size: 1rem;
  color: var(--color-text-muted);
  max-width: 480px;
  margin: 0 auto;
}

/* ---- 作品集 ---- */
.portfolio__toolbar {
  margin-bottom: 24px;
}

.search-box {
  position: relative;
  max-width: 400px;
  margin: 0 auto;
}

.search-box__icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--color-text-light);
  pointer-events: none;
}

.search-box__input {
  width: 100%;
  padding: 12px 16px 12px 44px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--color-white);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.search-box__input:focus {
  outline: none;
  border-color: var(--color-primary-light);
  box-shadow: 0 0 0 3px rgba(155, 127, 212, 0.15);
}

.filters {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.filter-group {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}

.filter-group__label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-muted);
  min-width: 40px;
  padding-top: 6px;
}

.filter-group__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-tag {
  padding: 6px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  background: var(--color-white);
  font-family: inherit;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all var(--transition);
}

.filter-tag:hover {
  border-color: var(--color-primary-light);
  color: var(--color-primary-dark);
}

.filter-tag.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

.portfolio__count {
  font-size: 0.875rem;
  color: var(--color-text-light);
  margin-bottom: 20px;
}

.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.portfolio__empty {
  text-align: center;
  color: var(--color-text-muted);
  padding: 48px 0;
}

/* 作品卡片 */
.work-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 20px var(--color-shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}

.work-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px var(--color-shadow-hover);
}

.work-card__img-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.work-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.work-card:hover .work-card__img-wrap img {
  transform: scale(1.05);
}

.work-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(124, 92, 191, 0.9);
  color: var(--color-white);
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.work-card__body {
  padding: 16px;
}

.work-card__title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.work-card__desc {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.work-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.work-card__tag {
  font-size: 0.75rem;
  padding: 2px 8px;
  background: var(--color-primary-bg);
  color: var(--color-primary-dark);
  border-radius: var(--radius-sm);
}

.work-card__meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--color-text-light);
}

/* ---- 约拍 ---- */
.booking__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.booking__card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: 0 4px 20px var(--color-shadow);
}

.booking__card--wide {
  grid-column: 1 / -1;
}

.booking__card-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--color-primary-dark);
}

.booking__steps li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  border-bottom: 1px solid var(--color-border);
}

.booking__steps li:last-child {
  border-bottom: none;
}

.step-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--color-primary-bg-deep);
  color: var(--color-primary-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
}

.booking__list li {
  padding: 8px 0;
  padding-left: 20px;
  position: relative;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.booking__list li::before {
  content: '·';
  position: absolute;
  left: 4px;
  color: var(--color-primary);
  font-weight: bold;
}

.booking__notes li {
  padding: 8px 0;
  padding-left: 20px;
  position: relative;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.booking__notes li::before {
  content: '⚠';
  position: absolute;
  left: 0;
  font-size: 0.75rem;
}

.booking__packages-title,
.social__works-title {
  font-size: 1.25rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 32px;
  color: var(--color-text);
}

.packages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.package-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 4px 20px var(--color-shadow);
  border: 2px solid transparent;
  transition: all var(--transition);
  position: relative;
}

.package-card--featured {
  border-color: var(--color-primary);
  transform: scale(1.03);
}

.package-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary-bg-deep);
  color: var(--color-primary-dark);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 16px;
  border-radius: var(--radius-full);
}

.package-card--featured .package-card__badge {
  background: var(--color-primary);
  color: var(--color-white);
}

.package-card__name {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 8px;
  margin-top: 8px;
}

.package-card__price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 20px;
}

.package-card__price span {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--color-text-light);
}

.package-card__features {
  text-align: left;
  margin-bottom: 24px;
}

.package-card__features li {
  padding: 6px 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  padding-left: 20px;
  position: relative;
}

.package-card__features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 600;
}

/* ---- 社媒 ---- */
.social__accounts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 64px;
}

.social-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: 0 4px 20px var(--color-shadow);
}

.social-card__header {
  margin-bottom: 12px;
}

.social-card__platform {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
}

.social-card__platform--xhs {
  background: #ff2442;
  color: white;
}

.social-card__platform--dy {
  background: #1a1a1a;
  color: white;
}

.social-card__name {
  font-size: 1.25rem;
  font-weight: 600;
}

.social-card__bio {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 16px;
  line-height: 1.7;
}

.social-card__meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-bottom: 24px;
}

.social-card__qr {
  text-align: center;
  margin-bottom: 16px;
}

.social-card__qr-img {
  display: block;
  width: 100%;
  max-width: 200px;
  margin: 0 auto 8px;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 16px var(--color-shadow);
}

.qr-placeholder {
  width: 140px;
  height: 140px;
  margin: 0 auto 8px;
  border: 2px dashed var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.qr-placeholder__svg {
  width: 100%;
  height: 100%;
}

.social-card__qr-hint {
  font-size: 0.8rem;
  color: var(--color-text-light);
}

.social-card__link {
  display: inline-block;
  font-weight: 500;
  font-size: 0.95rem;
}

.social-works {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.social-work {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 20px var(--color-shadow);
}

.social-work img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.social-work__info {
  padding: 16px;
}

.social-work__platform {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  background: #1a1a1a;
  color: white;
  margin-bottom: 8px;
}

.social-work__platform--xhs {
  background: #ff2442;
}

.social-work h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.social-work__stats {
  display: flex;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--color-text-light);
}

/* ---- 页脚 ---- */
.footer {
  background: var(--color-text);
  color: rgba(255, 255, 255, 0.7);
  padding: 40px 0;
}

.footer__inner {
  text-align: center;
}

.footer__copy {
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.9);
}

.footer__note {
  font-size: 0.8rem;
  margin-bottom: 16px;
}

.footer__links {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.footer__links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
}

.footer__links a:hover {
  color: var(--color-primary-light);
}

/* ---- Lightbox ---- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(45, 38, 64, 0.92);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: white;
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
  opacity: 0.8;
  transition: opacity var(--transition);
}

.lightbox__close:hover {
  opacity: 1;
}

.lightbox__content {
  max-width: 900px;
  width: 100%;
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  max-height: 90vh;
  overflow-y: auto;
}

.lightbox__img {
  width: 100%;
  max-height: 60vh;
  object-fit: contain;
  background: #111;
}

.lightbox__info {
  padding: 24px;
}

.lightbox__info h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.lightbox__info p {
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.lightbox__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--color-text-light);
}

.lightbox__meta span {
  background: var(--color-primary-bg);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

/* ---- 响应式 ---- */
@media (max-width: 992px) {
  .hero__content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__avatar {
    width: 200px;
    height: 200px;
    margin: 0 auto;
  }

  .hero__ip {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero__intro {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__stats {
    justify-content: center;
  }

  .hero__actions {
    justify-content: center;
  }

  .packages {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .package-card--featured {
    transform: none;
  }

  .social-works {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .nav__toggle {
    display: flex;
  }

  .nav__menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--color-white);
    flex-direction: column;
    padding: 24px;
    gap: 0;
    border-bottom: 1px solid var(--color-border);
    transform: translateY(-120%);
    opacity: 0;
    transition: all var(--transition);
    pointer-events: none;
  }

  .nav__menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav__menu li {
    border-bottom: 1px solid var(--color-border);
  }

  .nav__link {
    display: block;
    padding: 16px 0;
  }

  .nav__toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav__toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .nav__toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .section {
    padding: 64px 0;
  }

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

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

  .filter-group {
    flex-direction: column;
    gap: 8px;
  }

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

@media (max-width: 480px) {
  .hero__stats {
    gap: 20px;
  }

  .hero__actions {
    flex-direction: column;
    width: 100%;
  }

  .hero__actions .btn {
    width: 100%;
  }
}

/* ========================================
   动态效果 & 约拍新版样式
   ======================================== */

/* ---- 滚动渐显（仅 JS 可用时生效，避免无 JS 时内容隐藏） ---- */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
html.js [data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ---- 入场动画 ---- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero__avatar {
  opacity: 0;
  animation: fadeUp 0.7s ease forwards 0.1s, glowPulse 5s ease-in-out 1.4s infinite;
}
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 20px 60px var(--color-shadow); }
  50% { box-shadow: 0 24px 72px var(--color-shadow-hover); }
}

.hero__text > * {
  opacity: 0;
  animation: fadeUp 0.7s ease forwards;
}
.hero__text > *:nth-child(1) { animation-delay: 0.15s; }
.hero__text > *:nth-child(2) { animation-delay: 0.25s; }
.hero__text > *:nth-child(3) { animation-delay: 0.35s; }
.hero__text > *:nth-child(4) { animation-delay: 0.45s; }
.hero__text > *:nth-child(5) { animation-delay: 0.55s; }
.hero__text > *:nth-child(6) { animation-delay: 0.65s; }
.hero__text > *:nth-child(7) { animation-delay: 0.75s; }

/* 背景图更清晰后，加深 Hero 文字颜色、去掉浅色阴影，保证可读 */
.hero__label,
.hero__slogan,
.hero__ip,
.hero__intro {
  color: var(--color-text);
}
.hero__label {
  font-weight: 600;
}
.hero__slogan {
  font-weight: 600;
}
.hero__ip {
  font-weight: 500;
}

/* 统计数据排：毛玻璃白底卡片 + 深色数字，清晰可辨 */
.hero__stats {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-lg);
  padding: 14px 22px;
  width: fit-content;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(124, 92, 191, 0.14);
}
.hero__stat-num {
  color: var(--color-text);
}
.hero__stat-label {
  color: var(--color-text-muted);
  font-weight: 500;
}
@media (max-width: 992px) {
  .hero__stats {
    margin-left: auto;
    margin-right: auto;
  }
}

/* ---- 作品卡片入场 ---- */
.work-card {
  animation: cardIn 0.5s ease both;
}
@keyframes cardIn {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ---- 导航栏滚动状态 ---- */
.header--scrolled {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(124, 92, 191, 0.14);
}

/* ---- Lightbox 过渡 ---- */
.lightbox {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.lightbox--open {
  opacity: 1;
  visibility: visible;
}
.lightbox__content {
  transform: scale(0.96);
  transition: transform 0.3s ease;
}
.lightbox--open .lightbox__content {
  transform: scale(1);
}

/* ---- 约拍：类型卡片 ---- */
.booking__types {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}
.type-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: linear-gradient(135deg, var(--color-white), var(--color-primary-bg));
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 4px 20px var(--color-shadow);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.type-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px var(--color-shadow-hover);
  border-color: var(--color-primary-light);
}
.type-card__icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-primary-bg-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}
.type-card__body { flex: 1; }
.type-card__name { font-size: 1.15rem; font-weight: 600; margin-bottom: 4px; color: var(--color-text); }
.type-card__desc { font-size: 0.9rem; color: var(--color-text-muted); }
.type-card__link { font-size: 0.9rem; font-weight: 600; white-space: nowrap; }

/* ---- 约拍：套餐 ---- */
.booking__plans { margin-bottom: 56px; }
.booking__plans-title {
  font-size: 1.3rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
  color: var(--color-text);
}
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: 0 4px 20px var(--color-shadow);
  border: 2px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition);
}
.plan-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 36px var(--color-shadow-hover);
}
.plan-card--photo { border-top: 4px solid var(--color-primary); }
.plan-card--rules { border-top: 4px solid #f0c36b; }
.plan-card--featured { border: 2px solid var(--color-primary); }
.plan-card__head { margin-bottom: 16px; }
.plan-card__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  background: var(--color-primary-bg);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
}
.plan-card--rules .plan-card__tag { color: #9a6b00; background: #fdf3dc; }
.plan-card__name { font-size: 1.1rem; font-weight: 600; color: var(--color-text); }
.plan-card__price { font-size: 2rem; font-weight: 700; color: var(--color-primary-dark); margin-top: 4px; }
.plan-card__price span { font-size: 0.9rem; font-weight: 400; color: var(--color-text-light); }
.plan-card__features { flex: 1; margin-bottom: 16px; }
.plan-card__features li {
  position: relative;
  padding: 6px 0 6px 22px;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}
.plan-card__features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 6px;
  color: var(--color-primary);
  font-weight: 700;
}
.plan-card__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px dashed var(--color-border);
}
.plan-card__foot span {
  font-size: 0.8rem;
  color: var(--color-text-light);
  background: var(--color-primary-bg);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

/* ---- 约拍：注意事项 ---- */
.booking__notes-block { margin-bottom: 56px; }
.notes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  max-width: 900px;
  margin: 0 auto 16px;
}
.note-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  box-shadow: 0 2px 10px var(--color-shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.note-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px var(--color-shadow-hover);
}
.note-item__num {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.notes-grid__foot {
  text-align: center;
  font-size: 0.95rem;
  color: var(--color-primary-dark);
  font-weight: 500;
}

/* ---- 约拍：群聊二维码 ---- */
.booking__groups { text-align: center; }
.booking__groups-sub {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: 28px;
}
.groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 320px));
  gap: 32px;
  justify-content: center;
}
.group-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 4px 20px var(--color-shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.group-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px var(--color-shadow-hover);
}
.group-card__platform {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}
.group-card__platform--xhs { color: #ff2442; background: #ffe9ee; }
.group-card__platform--dy { color: #141414; background: #f1f1f1; }
.group-card__qr {
  width: 180px;
  height: 180px;
  margin: 0 auto 12px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-primary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.group-card__qr img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.group-card__qr-fallback {
  display: none;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--color-text-light);
  border: 2px dashed var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
}
.group-card__hint { font-size: 0.82rem; color: var(--color-text-light); }

/* ---- 约拍响应式 ---- */
@media (max-width: 992px) {
  .plans { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .plan-card--featured { transform: none; }
}
@media (max-width: 768px) {
  .booking__types { grid-template-columns: 1fr; }
  .notes-grid { grid-template-columns: 1fr; }
  .groups { grid-template-columns: 1fr; }
}

/* ---- 减少动态效果偏好 ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html.js [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
  .hero__avatar, .hero__text > * {
    opacity: 1 !important;
  }
}

/* 自我介绍末尾品牌句（沿用 slogan 的加粗格式） */
.hero__quote {
  font-size: 1.05rem;
  color: var(--color-text);
  font-weight: 600;
  font-style: italic;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

/* ========================================
   Hero 新版：居中头像 + 悬浮风格泡泡
   ======================================== */
.hero__stage {
  position: relative;
  width: 340px;
  height: 300px;
  margin: 0 auto 10px;
}
.hero__avatar-wrap {
  position: absolute;
  left: 50%;
  top: 24px;
  transform: translateX(-50%);
  width: 200px;
  height: 200px;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.05s;
}
.hero__avatar {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 24px 64px var(--color-shadow-hover);
  border: 4px solid var(--color-white);
}
.hero__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__avatar-ring {
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 2px dashed rgba(124, 92, 191, 0.5);
  animation: spin 28s linear infinite;
  pointer-events: none;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

.hero__name {
  font-size: clamp(1.6rem, 4.5vw, 2.1rem);
  letter-spacing: 0.06em;
  margin: 0 0 10px;
}

/* 泡泡容器与定位 */
.hero__bubbles {
  position: absolute;
  inset: 0;
}
.hero__bubble {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  opacity: 0;
  animation: bubbleFade 0.6s ease forwards;
  z-index: 2;
}
.hero__bubble:nth-child(1) { animation-delay: 0.5s; }
.hero__bubble:nth-child(2) { animation-delay: 0.65s; }
.hero__bubble:nth-child(3) { animation-delay: 0.8s; }
.hero__bubble:nth-child(4) { animation-delay: 0.95s; }
.hero__bubble:nth-child(5) { animation-delay: 1.1s; }
.hero__bubble:nth-child(6) { animation-delay: 1.25s; }
@keyframes bubbleFade {
  to { opacity: 1; }
}

.hero__bubble-float {
  display: block;
  animation: bubbleFloat 5s ease-in-out var(--d, 0s) infinite;
}
@keyframes bubbleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

.hero__bubble-inner {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 24px rgba(124, 92, 191, 0.16);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--color-text);
  white-space: nowrap;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.hero__bubble:hover .hero__bubble-inner {
  transform: translateY(-3px) scale(1.08);
  background: rgba(255, 255, 255, 0.96);
  color: var(--color-primary-dark);
  box-shadow: 0 14px 36px rgba(124, 92, 191, 0.3);
}
.hero__bubble:active .hero__bubble-inner {
  transform: scale(0.95);
}

/* Hero 文字区（居中） */
.hero__text {
  text-align: center;
  margin-top: 6px;
}
.hero__intro-line {
  font-size: 1rem;
  color: var(--color-text);
  line-height: 1.9;
  margin: 2px 0;
}
.hero__quote {
  margin-top: 10px;
  margin-bottom: 18px;
}
.hero__stats {
  margin: 8px auto 30px;
}
.hero__actions {
  justify-content: center;
}

/* 移动端：泡泡改为头像下方一排 */
@media (max-width: 768px) {
  .hero__stage {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero__avatar-wrap {
    position: static;
    transform: none;
    width: 170px;
    height: 170px;
    margin-top: 8px;
  }
  .hero__name {
    position: static;
    margin-top: 16px;
  }
  .hero__bubbles {
    position: static;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
    max-width: 360px;
  }
  .hero__bubble {
    position: static;
    transform: none;
    opacity: 1;
    animation: none;
  }
  .hero__bubble-float {
    animation: none;
  }
}

/* ========================================
   Hero 修复：圆形泡泡 / 头像居中 / 按钮可读
   ======================================== */

/* 头像居中：入场只淡入不动位，避免覆盖 translateX(-50%) */
.hero__avatar-wrap {
  animation: fadeOnly 0.8s ease forwards 0.05s;
}
@keyframes fadeOnly {
  to { opacity: 1; }
}

/* 圆形泡泡 */
.hero__bubble-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  padding: 0;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 24px rgba(124, 92, 191, 0.18);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--color-text);
  white-space: nowrap;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.hero__bubble-icon {
  font-size: 1.35rem;
  line-height: 1.2;
}
.hero__bubble:hover .hero__bubble-inner {
  transform: translateY(-3px) scale(1.06);
  background: rgba(255, 255, 255, 0.97);
  color: var(--color-primary-dark);
  box-shadow: 0 14px 36px rgba(124, 92, 191, 0.3);
}

/* 按钮：去掉默认方形焦点框，改为贴合圆角；移动端去掉点击高亮块 */
.btn {
  -webkit-tap-highlight-color: transparent;
}
.btn:focus {
  outline: none;
}
.btn:focus-visible {
  outline: 2px solid var(--color-primary-dark);
  outline-offset: 2px;
  border-radius: var(--radius-full);
}

/* 预约拍摄：描边按钮加半透明白底，保证可读 */
.hero__actions .btn--outline {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero__actions .btn--outline:hover {
  background: var(--color-white);
}

/* 移动端圆形泡泡稍小 */
@media (max-width: 768px) {
  .hero__bubble-inner {
    width: 76px;
    height: 76px;
    font-size: 0.78rem;
  }
  .hero__bubble-icon {
    font-size: 1.15rem;
  }
}

/* ========================================
   Hero 泡泡进阶：真实气泡质感 + 飘散入场 + 错落布局
   ======================================== */

/* 泡泡从头像位置飘散 */
.hero__bubble {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  rotate: var(--rot, 0deg);
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  opacity: 0;
  transition:
    left 1.25s cubic-bezier(0.22, 0.68, 0.32, 1),
    top 1.25s cubic-bezier(0.22, 0.68, 0.32, 1),
    opacity 0.7s ease;
  z-index: 2;
}
.hero__bubble.spawned {
  left: var(--x);
  top: var(--y);
  opacity: 1;
}

/* 漂浮：每颗节奏、幅度不同 */
.hero__bubble-float {
  display: block;
  animation: bubbleFloat var(--dur, 5s) ease-in-out var(--d, 0s) infinite;
}
@keyframes bubbleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(calc(-1 * var(--amp, 9px))); }
}

/* 真实气泡：半透明 + 高光 + 彩虹折射膜 */
.hero__bubble-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: var(--size, 92px);
  height: var(--size, 92px);
  border-radius: 50%;
  padding: 0;
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.25) 32%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.3) 0%, transparent 72%),
    conic-gradient(from 200deg at 50% 50%,
      hsla(var(--hue, 260), 55%, 82%, 0.5),
      hsla(calc(var(--hue, 260) + 60), 70%, 82%, 0.4),
      hsla(calc(var(--hue, 260) + 120), 70%, 85%, 0.4),
      hsla(var(--hue, 260), 55%, 82%, 0.5),
      rgba(255, 255, 255, 0.12),
      hsla(var(--hue, 260), 55%, 82%, 0.5));
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow:
    inset 0 0 14px rgba(255, 255, 255, 0.4),
    inset 0 -4px 10px hsla(var(--hue, 260), 50%, 80%, 0.35),
    0 8px 24px rgba(124, 92, 191, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--color-text);
  font-weight: 600;
  font-size: 0.85rem;
  white-space: nowrap;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
/* 左上主高光 */
.hero__bubble-inner::before {
  content: '';
  position: absolute;
  top: 6%;
  left: 10%;
  width: 40%;
  height: 24%;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 50%, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0) 70%);
  transform: rotate(-24deg);
  filter: blur(1px);
  pointer-events: none;
}
/* 右下二次反光 */
.hero__bubble-inner::after {
  content: '';
  position: absolute;
  bottom: 10%;
  right: 8%;
  width: 26%;
  height: 16%;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 50%, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 70%);
  filter: blur(2px);
  pointer-events: none;
}

.hero__bubble:hover .hero__bubble-inner {
  transform: translateY(-3px) scale(1.06);
  box-shadow:
    inset 0 0 16px rgba(255, 255, 255, 0.5),
    inset 0 -4px 12px hsla(var(--hue, 260), 50%, 80%, 0.45),
    0 14px 36px rgba(124, 92, 191, 0.3);
}

/* 移动端：泡泡收拢为静态一排 */
@media (max-width: 768px) {
  .hero__bubble {
    position: static;
    left: auto;
    top: auto;
    transform: none;
    rotate: none;
    opacity: 1;
    transition: none;
  }
  .hero__bubble-float {
    animation: none;
  }
}

/* ========================================
   楷体引言 + 按钮轻微立体 + 焦点框修复
   ======================================== */

/* 引言：宋体 */
.hero__quote {
  font-family: 'Songti SC', 'STSong', 'SimSun', '宋体', serif;
  font-style: normal;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
}

/* 按钮焦点：鼠标点击不显示描边，键盘聚焦显示贴合圆角的光圈 */
.btn:focus:not(:focus-visible) {
  outline: none;
}
.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(124, 92, 191, 0.35);
}

/* 浏览作品：渐变毛玻璃 */
.btn--primary {
  background: linear-gradient(135deg, rgba(176, 148, 224, 0.9), rgba(124, 92, 191, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 8px 24px rgba(124, 92, 191, 0.3);
}
.btn--primary:hover {
  background: linear-gradient(135deg, rgba(184, 158, 230, 0.95), rgba(134, 102, 199, 0.97));
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 12px 30px rgba(124, 92, 191, 0.36);
}

/* 预约拍摄：渐变毛玻璃 */
.hero__actions .btn--outline {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.38));
  border: 1px solid rgba(255, 255, 255, 0.75);
  color: var(--color-primary-dark);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    0 8px 22px rgba(124, 92, 191, 0.18);
}
.hero__actions .btn--outline:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.55));
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 12px 28px rgba(124, 92, 191, 0.24);
}

/* ========================================
   Hero 文字分层 + 间距收紧（方案 A）
   ======================================== */
.hero__intro-tags {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 1.05rem;
  color: var(--color-text);
  font-weight: 500;
  letter-spacing: 0.08em;
  margin: 0 0 12px;
}
.hero__intro-tags::before,
.hero__intro-tags::after {
  content: '';
  width: 36px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-primary-light));
}
.hero__intro-tags::after {
  background: linear-gradient(90deg, var(--color-primary-light), transparent);
}
.hero__intro-line {
  line-height: 1.7;
  margin: 2px 0;
}
.hero__quote {
  margin-top: 14px;
  margin-bottom: 16px;
}
.hero__stats {
  margin: 18px auto 22px;
}

/* 数据 + 按钮并排（方案 B） */
.hero__cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
  margin-top: 26px;
}
.hero__cta-row .hero__stats {
  margin: 0;
}
.hero__cta-row .hero__actions {
  margin: 0;
}
@media (max-width: 768px) {
  .hero__cta-row {
    flex-direction: column;
    gap: 18px;
  }
}

/* ========================================
   图集卡片 + 3D 环形查看器
   ======================================== */

/* ---- 图集卡片 ---- */
.album-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 20px var(--color-shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  animation: cardIn 0.5s ease both;
}
.album-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px var(--color-shadow-hover);
}
.album-card__img-wrap {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}
.album-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.album-card:hover .album-card__img-wrap img {
  transform: scale(1.05);
}
.album-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(124, 92, 191, 0.9);
  color: var(--color-white);
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(4px);
}
.album-card__count {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(45, 38, 64, 0.7);
  color: #fff;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(4px);
}
.album-card__body {
  padding: 16px;
}
.album-card__title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.album-card__desc {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.album-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}
.album-card__tags span {
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: var(--color-primary-bg);
  color: var(--color-primary-dark);
}
.album-card__meta {
  font-size: 0.8rem;
  color: var(--color-text-light);
}

/* ---- 3D 环形查看器 ---- */
.ring-viewer {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(24, 18, 38, 0.95);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 20px;
}
.ring-viewer--open {
  opacity: 1;
  visibility: visible;
}
.ring-viewer__close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.4rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.8;
  z-index: 10;
  transition: opacity var(--transition), transform var(--transition);
}
.ring-viewer__close:hover {
  opacity: 1;
  transform: rotate(90deg);
}
.ring-viewer__stage {
  position: relative;
  width: 100%;
  max-width: 760px;
}
.ring-wrap {
  perspective: 1400px;
  width: 100%;
  height: min(62vh, 540px);
  min-height: 380px;
}
.ring {
  position: relative;
  width: 100%;
  height: 100%;
}
.ring__card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(64vw, 300px);
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  transform: translate(-50%, -50%) translateX(calc(var(--o) * 58%)) rotateY(calc(var(--o) * -30deg)) scale(var(--s));
  opacity: var(--op);
  transition: transform 0.55s cubic-bezier(0.3, 0.8, 0.3, 1), opacity 0.55s ease;
  z-index: calc(10 - var(--abs));
  cursor: pointer;
}
.ring__card--active {
  z-index: 30;
  cursor: default;
}
.ring__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}
.ring__num {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  backdrop-filter: blur(4px);
}
.ring-viewer__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 40;
  transition: background 0.2s ease, transform 0.2s ease;
}
.ring-viewer__nav:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-50%) scale(1.08);
}
.ring-viewer__nav--prev { left: 4px; }
.ring-viewer__nav--next { right: 4px; }
.ring-viewer__info {
  text-align: center;
  margin-top: 20px;
  color: #fff;
}
.ring-viewer__title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.ring-viewer__counter {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  margin-bottom: 4px;
}
.ring-viewer__hint {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.8rem;
}

@media (max-width: 640px) {
  .ring-viewer__nav {
    width: 38px;
    height: 38px;
    font-size: 1.4rem;
  }
  .ring-viewer__nav--prev { left: 0; }
  .ring-viewer__nav--next { right: 0; }
}

/* ========================================
   环形查看器优化：无裁切 + 更丝滑 + 拖拽跟手
   ======================================== */
.ring {
  transition: transform 0.35s ease;
  will-change: transform;
}
.ring__card {
  --o: 0;
  --s: 0.8;
  --op: 0;
  aspect-ratio: auto;
  transition: transform 0.5s cubic-bezier(0.25, 0.9, 0.35, 1), opacity 0.5s ease;
  backface-visibility: hidden;
}
.ring__card img {
  display: block;
  width: 100%;
  height: auto;
}

/* 横图卡片加宽，避免在环形里显得太小 */
.ring__card--landscape {
  width: min(78vw, 420px);
}

/* 卡片精简：提示移到标题行右侧，白区更小 */
.album-card__body {
  padding: 12px 16px 14px;
}
.album-card__title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.album-card__title {
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.album-card__view {
  font-size: 0.78rem;
  color: var(--color-text-light);
  white-space: nowrap;
  flex-shrink: 0;
}
.album-card__tags {
  margin-bottom: 0;
}
/* 查看器描述 */
.ring-viewer__desc {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  margin: 0 auto 8px;
  max-width: 560px;
  line-height: 1.6;
}

/* 图集查看器：图片放大 */
.ring__card {
  width: min(72vw, 370px);
}
.ring__card--landscape {
  width: min(92vw, 520px);
}

/* 群二维码有效期提示 */
.booking__groups-note {
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--color-text-light);
  background: var(--color-primary-bg);
  border-radius: var(--radius-full);
  padding: 8px 18px;
  display: inline-block;
}

/* ========================================
   约拍区升级：淡紫渐变光斑背景（A）+ 卡片立体化（C）
   ======================================== */

/* 背景：淡紫渐变 + 柔光斑 */
.booking {
  position: relative;
  background:
    radial-gradient(ellipse 55% 45% at 12% 8%, rgba(196, 181, 253, 0.32) 0%, transparent 60%),
    radial-gradient(ellipse 45% 40% at 88% 28%, rgba(196, 181, 253, 0.24) 0%, transparent 60%),
    radial-gradient(ellipse 65% 45% at 50% 102%, rgba(155, 127, 212, 0.16) 0%, transparent 65%),
    linear-gradient(180deg, var(--color-white) 0%, var(--color-primary-bg) 55%, var(--color-white) 100%);
}

/* 区块标题装饰线 */
.booking .section__title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  margin: 14px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-primary-light), var(--color-primary), var(--color-primary-light));
}

/* 类型卡片：左侧色条 + 放大图标 + 渐变底 */
.type-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-white) 0%, var(--color-primary-bg) 100%);
}
.type-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, var(--color-primary-light), var(--color-primary-dark));
}
.type-card__icon {
  width: 74px;
  height: 74px;
  font-size: 2rem;
  background: linear-gradient(135deg, var(--color-primary-bg-deep), var(--color-primary-bg));
}

/* 套餐卡：角落光斑 + 头部虚线分隔 + 价格加大 */
.plan-card {
  position: relative;
  overflow: hidden;
}
.plan-card::after {
  content: '';
  position: absolute;
  top: -28px;
  right: -28px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 181, 253, 0.3) 0%, transparent 70%);
  pointer-events: none;
}
.plan-card__head {
  border-bottom: 1px dashed var(--color-border);
  padding-bottom: 16px;
  margin-bottom: 14px;
}
.plan-card__name {
  font-size: 1.2rem;
}
.plan-card__price {
  font-size: 2.2rem;
}

/* 注意事项：左侧强调条 */
.note-item {
  border-left: 3px solid var(--color-primary-light);
}
.note-item:nth-child(even) {
  border-left-color: #d9c2ea;
}

/* ========================================
   约拍套餐卡：柔彩三色等权并列（方案1）
   ======================================== */
.plan-card {
  border: 2px solid transparent;
}
.plan-card--photo { border-top: 4px solid #b9a3e3; }
.plan-card--companion { border-top: 4px solid #a78bdc; }
.plan-card--rules { border-top: 4px solid #ecc79b; }
.plan-card--featured {
  border-color: transparent;
  transform: none;
}
.plan-card__tag { color: #5d4a85; background: #ede7f8; }
.plan-card--companion .plan-card__tag { color: #4a3a78; background: #ece5f8; }
.plan-card--rules .plan-card__tag { color: #8a6426; background: #faf0e1; }
.plan-card__price { color: #5d4a85; }
.plan-card--companion .plan-card__price { color: #4a3a78; }
.plan-card--rules .plan-card__price { color: #8a6426; }
.plan-card__features li::before { color: #b9a3e3; }
.plan-card--companion .plan-card__features li::before { color: #a78bdc; }
.plan-card--rules .plan-card__features li::before { color: #ecc79b; }
.plan-card::after { background: radial-gradient(circle, rgba(185, 163, 227, 0.30) 0%, transparent 70%); }
.plan-card--companion::after { background: radial-gradient(circle, rgba(167, 139, 220, 0.32) 0%, transparent 70%); }
.plan-card--rules::after { background: radial-gradient(circle, rgba(236, 199, 155, 0.32) 0%, transparent 70%); }
/* 陪拍类型卡：粉 -> 雾蓝（与套餐配色一致） */
.type-card--companion::before { background: linear-gradient(180deg, #cbb6ee, #8f74c9); }
.type-card--companion .type-card__icon { background: linear-gradient(135deg, #f1ecfb, #e3d9f6); }

/* 查看器拍摄日期 */
.ring-viewer__date {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.82rem;
  margin-bottom: 6px;
}
