/* ═══════════════════════════════════════════════════════════
   BE WEISZ — Event Binder Product Page
   Page hero · Particles · Showcase · Format cards · Order form
   ═══════════════════════════════════════════════════════════ */

/* ── PAGE HERO (matches blog.css / blog-post.css pattern) ── */
.page-hero {
  position: relative;
  min-height: 42vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 160px 24px 80px;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgb(201, 168, 76, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 20%, rgb(201, 168, 76, 0.05) 0%, transparent 50%), var(--black);
  z-index: 0;
}

.page-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.page-hero-content {
  position: relative;
  z-index: 2;
}

.page-hero-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.6rem, 7vw, 5rem);
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.page-hero-sub {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--grey-light);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0;
  box-shadow:
    0 0 12px 4px rgb(201, 168, 76, 0.6),
    0 0 30px 8px rgb(201, 168, 76, 0.25);
  animation: floatUp ease-in-out infinite;
}

.particle:nth-child(1) {
  left: 5%;
  width: 8px;
  height: 8px;
  animation-delay: 0s;
  animation-duration: 12s;
}

.particle:nth-child(2) {
  left: 20%;
  width: 10px;
  height: 10px;
  animation-delay: 2s;
  animation-duration: 14s;
}

.particle:nth-child(3) {
  left: 35%;
  width: 7px;
  height: 7px;
  animation-delay: 4s;
  animation-duration: 11s;
}

.particle:nth-child(4) {
  left: 50%;
  width: 12px;
  height: 12px;
  animation-delay: 1s;
  animation-duration: 15s;
}

.particle:nth-child(5) {
  left: 65%;
  width: 9px;
  height: 9px;
  animation-delay: 3s;
  animation-duration: 13s;
}

.particle:nth-child(6) {
  left: 80%;
  width: 7px;
  height: 7px;
  animation-delay: 5s;
  animation-duration: 14s;
}

.particle:nth-child(7) {
  left: 92%;
  width: 10px;
  height: 10px;
  animation-delay: 1.5s;
  animation-duration: 12s;
}

.particle:nth-child(8) {
  left: 40%;
  width: 8px;
  height: 8px;
  animation-delay: 6s;
  animation-duration: 16s;
}

@keyframes floatUp {
  0% {
    bottom: -5%;
    opacity: 0;
    transform: translateX(0) scale(0.3);
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 0.6;
  }

  100% {
    bottom: 105%;
    opacity: 0;
    transform: translateX(20px) scale(1);
  }
}

/* ── PRODUCT SHOWCASE ─────────────────────────────────── */
.binder-pages-note {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgb(201, 168, 76, 0.35);
  border-radius: 20px;
  padding: 6px 16px;
  margin-bottom: 1.5rem;
}

.toc-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 1.5rem 0 0;
}

.toc-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 1.75rem 0 2rem;
  padding: 0;
}

.toc-pill {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold-light);
  border: 1px solid rgb(201, 168, 76, 0.3);
  border-radius: 20px;
  padding: 8px 16px;
  background: rgb(201, 168, 76, 0.04);
}

/* ── FORMAT / PRICING SECTION ─────────────────────────── */
.format-section {
  border-top: 1px solid var(--charcoal);
}

.format-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 760px;
  margin: 0 auto 3rem;
}

.format-card {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--black-soft);
  border: 1px solid var(--charcoal);
  border-radius: 16px;
  padding: 40px 28px 32px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.format-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.format-card:hover {
  border-color: rgb(201, 168, 76, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgb(0, 0, 0, 0.4);
}

.format-card.selected {
  border-color: var(--gold);
  background: radial-gradient(ellipse at 50% 0%, rgb(201, 168, 76, 0.08) 0%, transparent 60%), var(--black-soft);
  box-shadow:
    0 12px 40px rgb(0, 0, 0, 0.4),
    0 0 24px var(--gold-glow);
}

.format-card label {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  position: relative;
}

.format-check {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.format-check svg {
  width: 12px;
  height: 12px;
  stroke: var(--black);
  fill: none;
  stroke-width: 3;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.format-card input:checked + label .format-check {
  background: var(--gold);
  border-color: var(--gold);
}

.format-card input:checked + label .format-check svg {
  opacity: 1;
}

.format-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 4px;
}

.format-price {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--gold);
  margin: 8px 0 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--charcoal);
}

.format-price .dollar {
  font-size: 1.1rem;
  vertical-align: super;
  margin-right: 1px;
}

.format-features {
  list-style: none;
  text-align: left;
  margin: 0 auto;
  flex: 1;
}

.format-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--grey-light);
  padding: 8px 0;
}

.format-features li svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  margin-top: 2px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 2;
}

/* ── ORDER FORM ────────────────────────────────────────── */
.order-form-wrap {
  max-width: 560px;
  margin: 0 auto;
}

.shipping-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1.5rem;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition:
    max-height 0.5s ease,
    opacity 0.4s ease,
    margin 0.4s ease;
}

.shipping-fields.show {
  max-height: 500px;
  opacity: 1;
  margin-top: 0.5rem;
}

.shipping-fields .form-group {
  margin-bottom: 1.5rem;
}

.shipping-fields .form-group.full {
  grid-column: 1 / -1;
}

.order-note {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--grey);
  text-align: center;
  line-height: 1.6;
  margin-top: 1.5rem;
}

.order-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.order-success.show {
  display: block;
}

.order-success-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
}

.order-success-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 2;
}

.order-success h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: 10px;
}

.order-success p {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--grey);
  max-width: 420px;
  margin: 0 auto;
}

/* ── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 768px) {
  .format-grid {
    grid-template-columns: 1fr;
  }

  .shipping-fields {
    grid-template-columns: 1fr;
  }

  .shipping-fields .form-group {
    grid-column: 1 / -1;
  }
}
