/**
 * IT WEBHUT — Product Detail Page (scoped)
 * Prefix: .pd-  — isolated from theme button / SplitText / title ghosts
 */

body.pd-body-page,
body.pd-body-page #smooth-content,
body.pd-body-page main {
  background: #07070c !important;
}

body.pd-body-page .breadcrumb-area {
  display: none !important;
}

.pd-page {
  --pd-bg: #07070c;
  --pd-surface: #11111a;
  --pd-surface-2: #181824;
  --pd-border: rgba(255, 255, 255, 0.08);
  --pd-text: #f4f4f8;
  --pd-muted: #9a9ab0;
  --pd-accent: #7c6cf0;
  --pd-accent-2: #5b8def;
  --pd-ok: #34d399;
  --pd-radius: 20px;
  --pd-radius-sm: 14px;
  --pd-max: 1180px;
  color: var(--pd-text);
  background: var(--pd-bg);
  font-family: "Instrument Sans", "Segoe UI", sans-serif;
  overflow: clip;
}

.pd-page *,
.pd-page *::before,
.pd-page *::after {
  box-sizing: border-box;
}

.pd-page h1,
.pd-page h2,
.pd-page h3,
.pd-page h4 {
  font-family: Teko, "Arial Narrow", sans-serif;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--pd-text);
  margin: 0;
  /* Kill theme ghost/split overlays */
  text-shadow: none !important;
}

.pd-page h1::before,
.pd-page h1::after,
.pd-page h2::before,
.pd-page h2::after,
.pd-page h3::before,
.pd-page h3::after {
  content: none !important;
  display: none !important;
}

.pd-wrap {
  width: min(92%, var(--pd-max));
  margin-inline: auto;
}

/* Breadcrumb */
.pd-crumb {
  padding: 108px 0 0;
  background: var(--pd-bg);
}

.pd-crumb__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--pd-muted);
}

.pd-crumb__row a {
  color: #c4b5fd;
  text-decoration: none;
  font-weight: 600;
}

.pd-crumb__row a:hover {
  color: #fff;
}

.pd-crumb__sep {
  opacity: 0.4;
  font-size: 10px;
}

/* Hero */
.pd-hero {
  padding: 20px 0 40px;
  background:
    radial-gradient(ellipse 70% 55% at 85% 10%, rgba(124, 108, 240, 0.22), transparent 55%),
    radial-gradient(ellipse 45% 40% at 5% 80%, rgba(91, 141, 239, 0.12), transparent 50%),
    var(--pd-bg);
}

.pd-hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.pd-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(124, 108, 240, 0.14);
  border: 1px solid rgba(124, 108, 240, 0.35);
  color: #c4b5fd;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.pd-hero__title {
  font-size: clamp(48px, 7vw, 76px);
  line-height: 0.95;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.pd-hero__tagline {
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 600;
  color: #e8e8f2;
  margin: 0 0 12px;
  line-height: 1.35;
  font-family: "Instrument Sans", sans-serif;
}

.pd-hero__desc {
  font-size: 16px;
  line-height: 1.7;
  color: var(--pd-muted);
  margin: 0 0 28px;
  max-width: 540px;
}

.pd-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

/* Custom buttons — do NOT use .btn-main-* */
.pd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none !important;
  border: 1px solid transparent;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
  line-height: 1.2;
  white-space: nowrap;
}

.pd-btn:hover {
  transform: translateY(-2px);
}

.pd-btn--primary {
  background: linear-gradient(135deg, var(--pd-accent), var(--pd-accent-2));
  color: #fff !important;
  box-shadow: 0 12px 28px rgba(124, 108, 240, 0.35);
}

.pd-btn--primary:hover {
  box-shadow: 0 16px 36px rgba(124, 108, 240, 0.45);
  color: #fff !important;
}

.pd-btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--pd-border);
  color: var(--pd-text) !important;
}

.pd-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff !important;
}

.pd-btn--outline {
  background: transparent;
  border-color: rgba(124, 108, 240, 0.55);
  color: #c4b5fd !important;
}

.pd-btn--outline:hover {
  background: rgba(124, 108, 240, 0.12);
  color: #fff !important;
}

.pd-btn--lg {
  padding: 16px 28px;
  font-size: 15px;
}

.pd-btn--light {
  background: #fff;
  color: #4c1d95 !important;
}

.pd-btn--light:hover {
  background: #f5f3ff;
  color: #4c1d95 !important;
}

.pd-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 520px;
}

.pd-stat {
  padding: 14px 12px;
  border-radius: var(--pd-radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--pd-border);
}

.pd-stat__value {
  display: block;
  font-family: Teko, sans-serif;
  font-size: 28px;
  font-weight: 600;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
}

.pd-stat__label {
  font-size: 12px;
  color: var(--pd-muted);
  line-height: 1.35;
}

.pd-hero__visual {
  position: relative;
}

.pd-frame {
  border-radius: var(--pd-radius);
  overflow: hidden;
  border: 1px solid var(--pd-border);
  background: #0b0b12;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(124, 108, 240, 0.08);
}

.pd-frame__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--pd-border);
}

.pd-frame__dots {
  display: flex;
  gap: 6px;
}

.pd-frame__dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #475569;
}

.pd-frame__dots span:nth-child(1) { background: #f87171; }
.pd-frame__dots span:nth-child(2) { background: #fbbf24; }
.pd-frame__dots span:nth-child(3) { background: #4ade80; }

.pd-frame__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--pd-muted);
  text-transform: uppercase;
}

.pd-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.pd-float {
  position: absolute;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(17, 17, 26, 0.92);
  border: 1px solid var(--pd-border);
  backdrop-filter: blur(10px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  max-width: 200px;
  animation: pd-float 5s ease-in-out infinite;
}

.pd-float--1 {
  top: 12%;
  left: -8%;
}

.pd-float--2 {
  bottom: 14%;
  right: -6%;
  animation-delay: 1.4s;
}

@keyframes pd-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.pd-float__title {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 2px;
  font-family: "Instrument Sans", sans-serif;
}

.pd-float__text {
  font-size: 12px;
  color: var(--pd-muted);
  margin: 0;
}

/* Sections */
.pd-section {
  padding: clamp(40px, 5vw, 56px) 0;
}

.pd-section--compact {
  padding: clamp(28px, 4vw, 40px) 0;
}

.pd-section--alt {
  background: linear-gradient(180deg, #0c0c14 0%, #0a0a10 100%);
  border-top: 1px solid var(--pd-border);
  border-bottom: 1px solid var(--pd-border);
}

.pd-section__head {
  margin-bottom: 24px;
  max-width: 720px;
}

.pd-section__head--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.pd-section__head--inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  max-width: none;
  margin-bottom: 0;
}

.pd-section__head--inline .pd-chips {
  justify-content: flex-end;
  flex: 1;
  min-width: 240px;
}

.pd-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #a78bfa;
  margin-bottom: 12px;
}

.pd-section__title {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.pd-section__lead {
  font-size: 16px;
  line-height: 1.7;
  color: var(--pd-muted);
  margin: 0;
  font-family: "Instrument Sans", sans-serif;
}

/* Overview body */
.pd-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.pd-body-card {
  padding: 22px;
  border-radius: var(--pd-radius);
  background: var(--pd-surface);
  border: 1px solid var(--pd-border);
}

.pd-body-card h3 {
  font-size: 26px;
  margin-bottom: 12px;
  text-transform: uppercase;
  color: #fff;
}

.pd-body-card p {
  margin: 0;
  color: var(--pd-muted);
  font-size: 15px;
  line-height: 1.7;
}

/* Features */
.pd-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.pd-feature {
  padding: 18px 20px;
  border-radius: var(--pd-radius);
  background: var(--pd-surface);
  border: 1px solid var(--pd-border);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
  min-height: 0;
}

.pd-feature:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 108, 240, 0.4);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}

.pd-feature__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(124, 108, 240, 0.14);
  color: #c4b5fd;
  font-size: 16px;
  margin-bottom: 12px;
}

.pd-feature__text {
  display: block;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1.45;
  color: #ececf4 !important;
  margin: 0;
  font-family: "Instrument Sans", sans-serif;
  opacity: 1 !important;
  visibility: visible !important;
}

.pd-body--single {
  grid-template-columns: 1fr;
  max-width: 820px;
}

/* Landing strip under hero */
.pd-strip {
  padding: 0 0 28px;
  background: var(--pd-bg);
}

.pd-strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(124, 108, 240, 0.18), rgba(91, 141, 239, 0.1));
  border: 1px solid rgba(124, 108, 240, 0.35);
}

.pd-strip__inner strong {
  display: block;
  color: #fff;
  font-size: 15px;
  margin-bottom: 4px;
}

.pd-strip__inner span {
  color: var(--pd-muted);
  font-size: 13.5px;
}

/* Steps */
.pd-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.pd-step {
  padding: 22px;
  border-radius: var(--pd-radius);
  background: var(--pd-surface);
  border: 1px solid var(--pd-border);
}

.pd-step__num {
  display: inline-block;
  font-family: Teko, sans-serif;
  font-size: 34px;
  color: #a78bfa;
  line-height: 1;
  margin-bottom: 12px;
}

.pd-step h3 {
  font-size: 24px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.pd-step p {
  margin: 0;
  color: var(--pd-muted);
  font-size: 14.5px;
  line-height: 1.65;
  font-family: "Instrument Sans", sans-serif;
}

/* FAQ */
.pd-faq {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pd-faq__item {
  border-radius: 14px;
  background: var(--pd-surface);
  border: 1px solid var(--pd-border);
  padding: 0 18px;
}

.pd-faq__item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  font-weight: 700;
  color: #fff;
  font-family: "Instrument Sans", sans-serif;
  font-size: 15px;
}

.pd-faq__item summary::-webkit-details-marker {
  display: none;
}

.pd-faq__item p {
  margin: 0 0 16px;
  color: var(--pd-muted);
  font-size: 14.5px;
  line-height: 1.65;
  font-family: "Instrument Sans", sans-serif;
}

@media (max-width: 992px) {
  .pd-steps {
    grid-template-columns: 1fr;
  }
}

/* Benefits */
.pd-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.pd-benefit {
  padding: 22px;
  border-radius: var(--pd-radius);
  background: linear-gradient(160deg, rgba(124, 108, 240, 0.14), rgba(91, 141, 239, 0.05));
  border: 1px solid rgba(124, 108, 240, 0.22);
}

.pd-benefit__num {
  font-family: Teko, sans-serif;
  font-size: 40px;
  color: #a78bfa;
  line-height: 1;
  margin-bottom: 10px;
}

.pd-benefit h3 {
  font-size: 24px;
  margin-bottom: 10px;
  text-transform: uppercase;
  font-family: Teko, sans-serif;
}

.pd-benefit p {
  margin: 0;
  color: var(--pd-muted);
  font-size: 14.5px;
  line-height: 1.65;
  font-family: "Instrument Sans", sans-serif;
}

/* Audiences */
.pd-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.pd-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--pd-surface);
  border: 1px solid var(--pd-border);
  color: #e8e8f2;
  font-size: 14px;
  font-weight: 600;
}

.pd-chip i {
  color: var(--pd-ok);
}

/* Landing banner */
.pd-landing {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: center;
  padding: 36px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 90% 20%, rgba(91, 141, 239, 0.25), transparent 45%),
    linear-gradient(135deg, #151528, #0f172a);
  border: 1px solid rgba(124, 108, 240, 0.28);
}

.pd-landing h3 {
  font-size: 36px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.pd-landing p {
  margin: 0;
  color: var(--pd-muted);
  font-size: 15px;
  line-height: 1.65;
  max-width: 480px;
}

.pd-landing__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

/* Final CTA */
.pd-cta {
  padding: clamp(48px, 6vw, 72px) 0;
  background:
    linear-gradient(135deg, rgba(124, 108, 240, 0.95), rgba(91, 141, 239, 0.9)),
    #5b21b6;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pd-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.35;
  pointer-events: none;
}

.pd-cta__inner {
  position: relative;
  z-index: 1;
}

.pd-cta h2 {
  font-size: clamp(36px, 5vw, 56px);
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 14px;
}

.pd-cta p {
  margin: 0 auto 28px;
  max-width: 520px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 17px;
  line-height: 1.6;
  font-family: "Instrument Sans", sans-serif;
}

.pd-cta .pd-actions {
  justify-content: center;
  margin-bottom: 0;
}

/* Related products strip */
.pd-related {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.pd-related__card {
  display: block;
  padding: 18px;
  border-radius: var(--pd-radius-sm);
  background: var(--pd-surface);
  border: 1px solid var(--pd-border);
  text-decoration: none !important;
  transition: border-color 0.2s, transform 0.2s;
  color: inherit;
}

.pd-related__card:hover {
  border-color: rgba(124, 108, 240, 0.45);
  transform: translateY(-3px);
}

.pd-related__cat {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a78bfa;
  margin-bottom: 6px;
}

.pd-related__title {
  font-size: 22px;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 6px;
}

.pd-related__text {
  font-size: 13px;
  color: var(--pd-muted);
  margin: 0;
  line-height: 1.45;
  font-family: "Instrument Sans", sans-serif;
}

@media (max-width: 992px) {
  .pd-hero__grid,
  .pd-body,
  .pd-landing {
    grid-template-columns: 1fr;
  }

  .pd-features,
  .pd-benefits {
    grid-template-columns: 1fr 1fr;
  }

  .pd-related {
    grid-template-columns: 1fr 1fr;
  }

  .pd-landing__actions {
    justify-content: flex-start;
  }

  .pd-float {
    display: none;
  }
}

@media (max-width: 640px) {
  .pd-features,
  .pd-benefits,
  .pd-related,
  .pd-stats {
    grid-template-columns: 1fr;
  }

  .pd-actions .pd-btn {
    width: 100%;
  }

  .pd-crumb {
    padding-top: 96px;
  }
}
