/* Partner landing — BehzadBook professional redesign */
.bb-partner-landing {
  --pl-navy: #101b38;
  --pl-navy-2: #1a2748;
  --pl-gold: #dab369;
  --pl-gold-2: #f0d49a;
  --pl-wine: #852536;
  --pl-ink: #1e293b;
  --pl-muted: rgba(16, 27, 56, 0.62);
  --pl-bg: #f3f0ea;
  font-family: 'Vazirmatn', Tahoma, sans-serif;
  color: var(--pl-navy);
  background: var(--pl-bg);
  overflow-x: clip;
}

.bb-pl-container {
  width: min(1160px, calc(100% - 28px));
  margin: 0 auto;
}

/* ===== HERO ===== */
.bb-pl-hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: flex;
  align-items: center;
  padding: 56px 0 64px;
  color: #fff;
  background: var(--pl-navy);
}

.bb-pl-hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.bb-pl-hero__cover {
  position: absolute;
  width: 18vw;
  min-width: 120px;
  aspect-ratio: 2 / 3;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  opacity: 0.28;
  filter: saturate(0.9);
  transform: rotate(-8deg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.bb-pl-hero__cover--0 { inset-inline-end: 4%; top: 8%; transform: rotate(8deg); }
.bb-pl-hero__cover--1 { inset-inline-end: 16%; top: 42%; transform: rotate(-6deg); opacity: 0.2; }
.bb-pl-hero__cover--2 { inset-inline-end: 28%; top: 12%; transform: rotate(12deg); opacity: 0.18; }
.bb-pl-hero__cover--3 { inset-inline-start: -2%; bottom: 8%; transform: rotate(10deg); opacity: 0.16; }
.bb-pl-hero__cover--4 { inset-inline-start: 10%; top: 18%; transform: rotate(-12deg); opacity: 0.12; width: 12vw; }
.bb-pl-hero__cover--5 { inset-inline-end: -1%; bottom: 6%; transform: rotate(-4deg); opacity: 0.22; }

.bb-pl-hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(11, 18, 38, 0.96) 0%, rgba(16, 27, 56, 0.88) 48%, rgba(16, 27, 56, 0.55) 100%),
    radial-gradient(ellipse 50% 40% at 85% 20%, rgba(218, 179, 105, 0.28), transparent 60%);
}

.bb-pl-hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.bb-pl-logo-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.bb-pl-logo {
  width: 68px;
  height: 68px;
  object-fit: contain;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  padding: 8px;
  border: 1px solid rgba(218, 179, 105, 0.35);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.bb-pl-logo-name {
  display: block;
  font-size: clamp(1.55rem, 3.2vw, 2.15rem);
  font-weight: 900;
  color: var(--pl-gold);
  line-height: 1.15;
}

.bb-pl-logo-tag {
  display: block;
  margin-top: 4px;
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
}

.bb-pl-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(1.7rem, 3.8vw, 2.55rem);
  font-weight: 900;
  line-height: 1.25;
  max-width: 16ch;
}

.bb-pl-lead {
  margin: 0 0 24px;
  font-size: 1.05rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.82);
  max-width: 36ch;
}

.bb-pl-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.bb-pl-cta-row--center {
  justify-content: center;
  margin-top: 32px;
}

.bb-pl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 14px;
  font-weight: 900;
  text-decoration: none !important;
  font-family: inherit;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.bb-pl-btn:hover {
  transform: translateY(-2px);
}

.bb-pl-btn-primary {
  background: linear-gradient(120deg, var(--pl-gold), var(--pl-gold-2));
  color: var(--pl-navy) !important;
  box-shadow: 0 12px 28px rgba(218, 179, 105, 0.35);
}

.bb-pl-btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff !important;
  border: 1px solid rgba(218, 179, 105, 0.45);
}

.bb-pl-btn-navy {
  background: var(--pl-navy);
  color: var(--pl-gold) !important;
}

.bb-pl-hero-stats {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.bb-pl-hero-stats li {
  min-width: 108px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(218, 179, 105, 0.25);
}

.bb-pl-hero-stats strong {
  display: block;
  color: var(--pl-gold);
  font-size: 1rem;
}

.bb-pl-hero-stats span {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.65);
}

/* Poster stack */
.bb-pl-hero__stage {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
}

.bb-pl-poster-stack {
  position: relative;
  width: min(100%, 420px);
  height: 440px;
}

.bb-pl-poster {
  position: absolute;
  margin: 0;
  width: 46%;
  aspect-ratio: 2 / 3;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.12);
  animation: bbPlFloat 5.5s ease-in-out infinite;
}

.bb-pl-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bb-pl-poster--0 { inset-inline-start: 28%; top: 8%; z-index: 5; width: 48%; animation-delay: 0s; }
.bb-pl-poster--1 { inset-inline-start: 2%; top: 22%; z-index: 3; transform: rotate(-12deg); animation-delay: 0.4s; }
.bb-pl-poster--2 { inset-inline-end: 0; top: 18%; z-index: 4; transform: rotate(10deg); animation-delay: 0.8s; }
.bb-pl-poster--3 { inset-inline-start: 10%; bottom: 4%; z-index: 2; transform: rotate(6deg); width: 38%; animation-delay: 1.1s; }
.bb-pl-poster--4 { inset-inline-end: 6%; bottom: 8%; z-index: 3; transform: rotate(-8deg); width: 36%; animation-delay: 1.5s; }

.bb-pl-poster-badge {
  position: absolute;
  inset-inline-start: 50%;
  bottom: 18%;
  transform: translateX(10%);
  z-index: 8;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(16, 27, 56, 0.88);
  border: 1px solid rgba(218, 179, 105, 0.5);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  animation: bbPlBadge 3s ease-in-out infinite;
}

.bb-pl-poster-badge img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 8px;
}

.bb-pl-poster-badge span {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--pl-gold);
  white-space: nowrap;
}

@keyframes bbPlFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}

@keyframes bbPlBadge {
  0%, 100% { transform: translateX(10%) scale(1); }
  50% { transform: translateX(10%) scale(1.04); }
}

/* ===== COVER WALL ===== */
.bb-pl-wall {
  position: relative;
  background: #0b1226;
  padding: 18px 0;
  overflow: hidden;
  border-block: 1px solid rgba(218, 179, 105, 0.25);
}

.bb-pl-wall__track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: bbPlMarquee 42s linear infinite;
  padding-inline: 12px;
}

.bb-pl-wall__item {
  flex: 0 0 auto;
  width: 88px;
  aspect-ratio: 2 / 3;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.2s;
}

.bb-pl-wall__item:hover {
  transform: translateY(-4px) scale(1.04);
}

.bb-pl-wall__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@keyframes bbPlMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(50%); }
}

/* ===== SECTIONS ===== */
.bb-pl-section {
  padding: 72px 0;
}

.bb-pl-head {
  max-width: 640px;
  margin-bottom: 34px;
}

.bb-pl-kicker {
  margin: 0 0 8px;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--pl-wine);
  letter-spacing: 0.02em;
}

.bb-pl-kicker--light {
  color: var(--pl-gold);
}

.bb-pl-section h2,
.bb-pl-audience h2,
.bb-pl-final h2 {
  margin: 0 0 10px;
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  font-weight: 900;
}

.bb-pl-sub {
  margin: 0;
  color: var(--pl-muted);
  line-height: 1.8;
}

/* Benefits with product posters */
.bb-pl-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.bb-pl-benefit {
  display: grid;
  gap: 14px;
}

.bb-pl-benefit__visual {
  position: relative;
  height: 210px;
  border-radius: 22px;
  overflow: hidden;
  background: var(--pl-navy);
}

.bb-pl-benefit__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.78;
  transform: scale(1.05);
}

.bb-pl-benefit__visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(16, 27, 56, 0.85) 100%);
}

.bb-pl-benefit__visual--wine::after {
  background: linear-gradient(180deg, transparent 30%, rgba(133, 37, 54, 0.88) 100%);
}

.bb-pl-benefit__visual--gold::after {
  background: linear-gradient(180deg, transparent 30%, rgba(16, 27, 56, 0.75) 70%, rgba(218, 179, 105, 0.55) 100%);
}

.bb-pl-benefit__icon {
  position: absolute;
  inset-inline-start: 16px;
  bottom: 16px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(218, 179, 105, 0.45);
  color: var(--pl-gold);
  backdrop-filter: blur(8px);
}

.bb-pl-benefit__body h3 {
  margin: 0 0 6px;
  font-size: 1.12rem;
}

.bb-pl-benefit__body p {
  margin: 0;
  color: var(--pl-muted);
  line-height: 1.8;
  font-size: 0.95rem;
}

/* Audience banner */
.bb-pl-audience {
  position: relative;
  padding: 72px 0;
  color: #fff;
  overflow: hidden;
}

.bb-pl-audience__mosaic {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 4px;
  opacity: 0.35;
}

.bb-pl-audience__mosaic span {
  background-size: cover;
  background-position: center;
  min-height: 100%;
}

.bb-pl-audience__veil {
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(160deg, rgba(16, 27, 56, 0.94), rgba(26, 39, 72, 0.9) 55%, rgba(133, 37, 54, 0.55)) !important;
  min-height: auto !important;
}

.bb-pl-audience__inner {
  position: relative;
  z-index: 2;
}

.bb-pl-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.bb-pl-pills span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(218, 179, 105, 0.35);
  font-weight: 800;
  font-size: 0.9rem;
}

.bb-pl-pills i {
  color: var(--pl-gold);
}

/* Steps */
.bb-pl-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  counter-reset: none;
}

.bb-pl-steps li {
  position: relative;
  padding: 22px 20px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(218, 179, 105, 0.28);
  box-shadow: 0 16px 36px rgba(16, 27, 56, 0.06);
  min-height: 170px;
}

.bb-pl-steps em {
  display: block;
  margin-bottom: 14px;
  font-style: normal;
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--pl-gold);
  font-variant-numeric: tabular-nums;
}

.bb-pl-steps h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.bb-pl-steps p {
  margin: 0;
  color: var(--pl-muted);
  line-height: 1.75;
}

/* FAQ */
.bb-pl-section--faq {
  background: #fff;
}

.bb-pl-faq-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
  align-items: start;
}

.bb-pl-faq-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin-bottom: 14px;
  border-radius: 16px;
  background: var(--pl-bg);
  padding: 8px;
}

.bb-pl-faq-intro p {
  color: var(--pl-muted);
  line-height: 1.8;
  margin: 0 0 18px;
}

.bb-pl-faq details {
  background: var(--pl-bg);
  border-radius: 16px;
  padding: 14px 16px;
  margin-bottom: 10px;
  border: 1px solid rgba(16, 27, 56, 0.08);
}

.bb-pl-faq summary {
  font-weight: 800;
  cursor: pointer;
}

.bb-pl-faq p {
  margin: 10px 0 0;
  color: var(--pl-muted);
  line-height: 1.75;
}

/* Final CTA */
.bb-pl-final {
  position: relative;
  padding: 80px 0;
  color: #fff;
  overflow: hidden;
}

.bb-pl-final__covers {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  opacity: 0.3;
}

.bb-pl-final__covers span {
  background-size: cover;
  background-position: center;
}

.bb-pl-final__veil {
  position: absolute !important;
  inset: 0 !important;
  background:
    linear-gradient(145deg, rgba(11, 18, 38, 0.94), rgba(16, 27, 56, 0.88) 50%, rgba(133, 37, 54, 0.55)) !important;
  min-height: auto !important;
}

.bb-pl-final__inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.bb-pl-final__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.bb-pl-final__brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  padding: 6px;
}

.bb-pl-final__brand strong {
  display: block;
  color: var(--pl-gold);
  font-size: 1.1rem;
}

.bb-pl-final__brand span {
  font-size: 0.82rem;
  opacity: 0.75;
}

.bb-pl-final p {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.8;
}

.bb-pl-final__addr {
  margin-top: 22px !important;
  font-weight: 700;
  font-size: 0.9rem;
}

.bb-pl-final__addr i {
  color: var(--pl-gold);
  margin-left: 8px;
}

@media (prefers-reduced-motion: reduce) {
  .bb-pl-poster,
  .bb-pl-poster-badge,
  .bb-pl-wall__track {
    animation: none !important;
  }
}

@media (max-width: 960px) {
  .bb-pl-hero__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .bb-pl-hero__stage {
    min-height: 340px;
    order: -1;
  }

  .bb-pl-poster-stack {
    height: 340px;
    width: min(100%, 360px);
  }

  .bb-pl-hero h1 {
    max-width: none;
  }

  .bb-pl-benefits,
  .bb-pl-steps,
  .bb-pl-faq-layout {
    grid-template-columns: 1fr;
  }

  .bb-pl-hero {
    min-height: auto;
    padding: 36px 0 44px;
  }

  .bb-pl-section,
  .bb-pl-audience,
  .bb-pl-final {
    padding: 48px 0;
  }

  .bb-pl-hero__cover {
    display: none;
  }
}

@media (max-width: 560px) {
  .bb-pl-logo {
    width: 56px;
    height: 56px;
  }

  .bb-pl-wall__item {
    width: 72px;
  }

  .bb-pl-btn {
    width: 100%;
  }

  .bb-pl-cta-row {
    width: 100%;
  }
}
