/* WorryFree Pay — Single Product Detail Pages (Privacy / Business) */

.wfp-detail-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  padding: calc(var(--wfp-header-h) + 40px) 24px 80px;
}
.wfp-detail-hero--privacy {
  background:
    radial-gradient(ellipse 60% 50% at 50% 30%, rgba(99, 91, 255, 0.12) 0%, transparent 55%),
    #000;
}
.wfp-detail-hero--business {
  background:
    radial-gradient(ellipse 60% 50% at 50% 30%, rgba(0, 119, 255, 0.12) 0%, transparent 55%),
    #000;
}
.wfp-detail-hero__card-wrap {
  perspective: 1200px;
  margin-bottom: 48px;
}
.wfp-detail-hero__card {
  width: min(360px, 85vw);
  aspect-ratio: 1.586;
  margin: 0 auto;
  border-radius: 18px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 40px 100px rgba(0,0,0,0.7);
  animation: wfp-detail-card-float 10s ease-in-out infinite;
}
.wfp-detail-hero__card--privacy {
  background: linear-gradient(145deg, #111 0%, #1a1a1a 50%, #0d0d12 100%);
}
.wfp-detail-hero__card--business {
  background: linear-gradient(145deg, #0a1520 0%, #111 50%, #0d1a28 100%);
}
@keyframes wfp-detail-card-float {
  0%, 100% { transform: rotateY(-6deg) rotateX(4deg) translateY(0); }
  50% { transform: rotateY(6deg) rotateX(-3deg) translateY(-12px); }
}
.wfp-detail-hero__series {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #635bff;
  margin-bottom: 12px;
}
.wfp-detail-hero__series--business { color: #0077ff; }
.wfp-detail-hero__title {
  font-size: clamp(42px, 6.7vw, 76px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 0 0 12px;
}
.wfp-detail-hero__tagline {
  font-size: clamp(24px, 3.4vw, 33px);
  font-weight: 600;
  color: var(--wfp-muted);
  margin: 0 0 24px;
}
.wfp-detail-hero__desc {
  font-size: 19px;
  line-height: 1.7;
  color: var(--wfp-muted);
  max-width: 560px;
  margin: 0 auto 36px;
}
.wfp-detail-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

.wfp-detail-breadcrumb {
  max-width: var(--wfp-container-wide);
  margin: 0 auto;
  padding: 16px 24px;
  font-size: 15px;
  color: #636366;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.wfp-detail-breadcrumb a { color: var(--wfp-muted); }
.wfp-detail-breadcrumb a:hover { color: #f5f5f7; }
.wfp-detail-breadcrumb span { margin: 0 8px; }

/* Value pillars */
.wfp-detail-value {
  padding: 100px 24px;
  background: #050505;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.wfp-detail-value__inner { max-width: var(--wfp-container-wide); margin: 0 auto; }
.wfp-detail-value__header { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.wfp-detail-value__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.wfp-detail-value__item {
  padding: 36px 28px;
  background: #0a0a0a;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
}
.wfp-detail-value__item h3 { font-size: 22px; font-weight: 800; margin: 0 0 12px; }
.wfp-detail-value__item p { font-size: 17px; color: var(--wfp-muted); line-height: 1.7; margin: 0; }

/* Full-width experience strips (Apple style) */
.wfp-detail-strip {
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: 80px 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
}
.wfp-detail-strip--dark { background: #000; }
.wfp-detail-strip--dim { background: #050505; }
.wfp-detail-strip__inner {
  max-width: var(--wfp-container-wide);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.wfp-detail-strip--reverse .wfp-detail-strip__content { order: 2; }
.wfp-detail-strip--reverse .wfp-detail-strip__visual { order: 1; }
.wfp-detail-strip__label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #635bff;
  margin-bottom: 16px;
}
.wfp-detail-strip__title {
  font-size: clamp(33px, 4.5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0 0 20px;
}
.wfp-detail-strip__text { font-size: 19px; color: var(--wfp-muted); line-height: 1.75; margin: 0; }
.wfp-detail-strip__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}
.wfp-detail-strip__icon {
  font-size: 90px;
  opacity: 0.9;
}
.wfp-detail-strip__scene-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  width: 100%;
  max-width: 360px;
}
.wfp-detail-strip__scene {
  padding: 16px;
  background: rgba(99,91,255,0.08);
  border: 1px solid rgba(99,91,255,0.2);
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
}

/* Capabilities */
.wfp-detail-cap {
  padding: 100px 24px;
  background: #000;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.wfp-detail-cap__inner { max-width: var(--wfp-container-wide); margin: 0 auto; }
.wfp-detail-cap__header { text-align: center; margin-bottom: 56px; }
.wfp-detail-cap__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}
.wfp-detail-cap__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 24px;
  background: #0a0a0a;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
}
.wfp-detail-cap__check {
  color: #00d4aa;
  font-weight: 800;
  font-size: 18px;
  flex-shrink: 0;
}
.wfp-detail-cap__item strong { display: block; font-size: 17px; margin-bottom: 4px; }
.wfp-detail-cap__item span { font-size: 15px; color: var(--wfp-muted); line-height: 1.5; }

/* Specs (minimal, at bottom) */
.wfp-detail-specs {
  padding: 80px 24px;
  background: #050505;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.wfp-detail-specs__inner { max-width: 640px; margin: 0 auto; }
.wfp-detail-specs h2 { font-size: 27px; margin-bottom: 32px; text-align: center; }
.wfp-detail-specs__row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 17px;
}
.wfp-detail-specs__row dt { color: var(--wfp-muted); }
.wfp-detail-specs__row dd { color: #f5f5f7; font-weight: 600; text-align: right; margin: 0; }

/* Cross-sell */
.wfp-detail-cross {
  padding: 80px 24px;
  background: #000;
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
}
.wfp-detail-cross__card {
  max-width: 520px;
  margin: 32px auto 0;
  padding: 32px;
  background: #0a0a0a;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
}
.wfp-detail-cross__card h3 { font-size: 25px; margin: 0 0 8px; }
.wfp-detail-cross__card p { color: var(--wfp-muted); font-size: 17px; margin: 0 0 20px; }

/* Lang switch */
.wfp-lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  margin-right: 8px;
}
.wfp-lang-switch a {
  padding: 6px 10px;
  border-radius: 8px;
  color: var(--wfp-muted);
  transition: color 0.2s, background 0.2s;
}
.wfp-lang-switch a:hover { color: #f5f5f7; }
.wfp-lang-switch a.is-active { color: #f5f5f7; background: rgba(255,255,255,0.08); }
.wfp-lang-switch__sep { color: #48484a; }

@media (max-width: 1024px) {
  .wfp-detail-value__grid { grid-template-columns: 1fr; }
  .wfp-detail-strip__inner { grid-template-columns: 1fr; gap: 40px; }
  .wfp-detail-strip--reverse .wfp-detail-strip__content,
  .wfp-detail-strip--reverse .wfp-detail-strip__visual { order: unset; }
  .wfp-detail-cap__list { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .wfp-lang-switch { display: none; }
  .wfp-detail-hero {
    min-height: auto;
    padding: calc(var(--wfp-header-h) + 20px) 14px 56px;
  }
  .wfp-detail-hero__card-wrap .wfp-media-frame {
    max-width: 100% !important;
    width: 100%;
  }
  .wfp-detail-hero__card-wrap img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
  }
}
