/* ============================================================
   PRODUCT DETAIL PAGES
   Shared styling for all ten product category pages
   ============================================================ */

:root {
  --ph-accent: #5a7ccf;
  --ph-accent-dark: #1f3160;
  --ph-accent-soft: rgba(90, 124, 207, 0.18);
  --ph-accent-fade: rgba(90, 124, 207, 0.08);
  --ph-gradient: linear-gradient(135deg, #5a7ccf 0%, #1f3160 100%);
  --ph-gradient-soft: linear-gradient(135deg, rgba(90, 124, 207, 0.28) 0%, rgba(31, 49, 96, 0.12) 100%);
}

body.product-detail-page {
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.9), transparent 30%),
    radial-gradient(circle at bottom right, var(--ph-accent-fade), transparent 28%),
    var(--bg-primary);
}

.product-page-main {
  position: relative;
  overflow: hidden;
}

.ph-hero {
  position: relative;
  min-height: calc(100vh - var(--nav-height));
  padding: calc(var(--nav-height) + 64px) 0 96px;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.14), transparent 24%),
    radial-gradient(circle at 80% 0%, rgba(255, 255, 255, 0.08), transparent 20%),
    var(--ph-gradient);
  color: #fff;
}

.ph-hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.ph-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.75), transparent 88%);
  opacity: 0.35;
}

.ph-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(68px);
  opacity: 0.7;
  animation: ph-float-orb 14s ease-in-out infinite;
}

.ph-orb-1 {
  width: 420px;
  height: 420px;
  left: -120px;
  top: -80px;
  background: rgba(255, 255, 255, 0.16);
}

.ph-orb-2 {
  width: 320px;
  height: 320px;
  right: -80px;
  top: 16%;
  background: var(--ph-accent-soft);
  animation-delay: -5s;
}

.ph-orb-3 {
  width: 360px;
  height: 360px;
  left: 54%;
  bottom: -160px;
  background: rgba(255, 255, 255, 0.14);
  animation-delay: -9s;
}

@keyframes ph-float-orb {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  33% {
    transform: translate3d(28px, -34px, 0) scale(1.04);
  }
  66% {
    transform: translate3d(-24px, 16px, 0) scale(0.96);
  }
}

.ph-bg-num {
  position: absolute;
  right: 2%;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-serif);
  font-size: clamp(180px, 24vw, 360px);
  line-height: 1;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.16);
  opacity: 0.5;
  user-select: none;
}

.ph-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(380px, 0.98fr);
  gap: 56px;
  align-items: center;
}

.ph-copy,
.ph-visual {
  position: relative;
  z-index: 1;
}

.ph-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.9rem, 5vw, 5rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin-bottom: 22px;
}

.ph-hero-title em {
  font-style: italic;
  color: rgba(255, 255, 255, 0.76);
}

.ph-hero-back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  font-size: 0.84rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.82);
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.ph-hero-back-link:hover {
  color: #fff;
  transform: translateX(-4px);
}

.ph-hero-back-link svg {
  width: 16px;
  height: 16px;
}

.ph-hero-desc {
  max-width: 620px;
  margin-bottom: 24px;
  font-size: 1rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.78);
}

.ph-spec-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.ph-spec-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.94);
}

.ph-spec-pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
}

.ph-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}

.ph-hero-ctas .btn {
  min-width: 210px;
  justify-content: center;
  border: 1px solid transparent;
  box-shadow: 0 10px 26px rgba(8, 14, 28, 0.14);
}

.ph-hero-ctas .btn-light {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(255, 255, 255, 0.82);
  color: var(--text-primary);
}

.ph-hero-ctas .btn-light:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: var(--text-primary);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(8, 14, 28, 0.2);
}

.ph-hero-ctas .btn-ghost-light {
  background: rgba(9, 18, 34, 0.2);
  border-color: rgba(255, 255, 255, 0.44);
  color: #ffffff;
}

.ph-hero-ctas .btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.8);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(8, 14, 28, 0.24);
}

.ph-hero-ctas .btn-light::before,
.ph-hero-ctas .btn-ghost-light::before {
  background: rgba(255, 255, 255, 0.14);
}

.ph-visual {
  display: flex;
  justify-content: center;
}

.ph-stage {
  position: relative;
  width: min(560px, 100%);
  min-height: 610px;
  perspective: 1400px;
}

.ph-3d-card {
  position: absolute;
  top: 82px;
  left: 50%;
  width: min(390px, 82%);
  border-radius: 30px;
  overflow: hidden;
  transform: translateX(-50%);
  transform-style: preserve-3d;
  will-change: transform;
  box-shadow:
    0 48px 90px rgba(8, 14, 28, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  animation: ph-card-float 7s ease-in-out infinite;
  background: rgba(255, 255, 255, 0.08);
}

@keyframes ph-card-float {
  0%,
  100% {
    transform: translateX(-50%) translateY(0) rotateX(1deg) rotateY(-3deg);
  }
  50% {
    transform: translateX(-50%) translateY(-18px) rotateX(-3deg) rotateY(3deg);
  }
}

.ph-card-image-wrap {
  position: relative;
  height: 320px;
  overflow: hidden;
}

.ph-card-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 38%, rgba(10, 18, 34, 0.4) 100%);
}

.ph-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.ph-card-body {
  position: relative;
  padding: 24px 26px 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(247, 249, 253, 0.98) 100%);
}

.ph-card-label {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.ph-card-name {
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.ph-card-shine {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.3), transparent 34%, transparent 64%, rgba(255, 255, 255, 0.12)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 42%);
  pointer-events: none;
}

.ph-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.68);
  box-shadow: 0 16px 34px rgba(8, 14, 28, 0.18);
  color: var(--text-primary);
  font-size: 0.77rem;
  font-weight: 700;
  white-space: nowrap;
  transform-style: preserve-3d;
}

.ph-badge-icon,
.ph-spec-chip-icon,
.ph-feature-icon,
.ph-metric-icon,
.ph-compliance-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ph-badge-icon {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: var(--ph-accent-fade);
  color: var(--ph-accent);
}

.ph-badge-icon svg,
.ph-spec-chip-icon svg,
.ph-feature-icon svg,
.ph-metric-icon svg,
.ph-compliance-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ph-badge-1 {
  top: 44px;
  right: 6px;
  animation: ph-chip-float 5.5s ease-in-out infinite;
}

.ph-badge-2 {
  bottom: 160px;
  left: 0;
  animation: ph-chip-float 6.5s ease-in-out infinite;
  animation-delay: -2.4s;
}

.ph-badge-3 {
  bottom: 76px;
  right: 18px;
  animation: ph-chip-float 5.8s ease-in-out infinite;
  animation-delay: -1.6s;
}

.ph-orbit-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 110px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 40px rgba(8, 14, 28, 0.12);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ph-orbit-chip-1 {
  left: 26px;
  top: 108px;
  animation: ph-chip-float 7s ease-in-out infinite;
}

.ph-orbit-chip-2 {
  right: 48px;
  top: 178px;
  animation: ph-chip-float 7.8s ease-in-out infinite;
  animation-delay: -1.5s;
}

.ph-orbit-chip-3 {
  left: 94px;
  bottom: 48px;
  animation: ph-chip-float 6.8s ease-in-out infinite;
  animation-delay: -3.2s;
}

@keyframes ph-chip-float {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-10px) rotate(1deg);
  }
}

.ph-breadcrumb {
  position: absolute;
  bottom: 28px;
  left: 0;
  right: 0;
  z-index: 1;
}

.ph-breadcrumb-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.58);
}

.ph-breadcrumb-inner a {
  color: inherit;
  transition: color var(--transition-fast);
}

.ph-breadcrumb-inner a:hover {
  color: rgba(255, 255, 255, 0.92);
}

.ph-section {
  position: relative;
  padding: 112px 0;
}

.ph-section--soft {
  background:
    radial-gradient(circle at 0% 0%, var(--ph-accent-fade), transparent 28%),
    var(--bg-secondary);
}

.ph-section--white {
  background: var(--bg-card);
}

.ph-section--footer-blend {
  background: #f4f7fb;
}

.ph-section--dark {
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.06), transparent 22%),
    linear-gradient(180deg, var(--accent-navy-light) 0%, var(--accent-navy) 100%);
  color: #fff;
}

.ph-section .section-header {
  margin-bottom: 50px;
}

.ph-section .section-desc,
.ph-section .section-subtitle {
  max-width: 720px;
}

.ph-metric-grid,
.ph-features-grid,
.ph-app-grid,
.ph-compliance-grid,
.ph-category-grid {
  display: grid;
  gap: 22px;
}

.ph-metric-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ph-metric-card,
.ph-feature-card,
.ph-application-card,
.ph-category-card,
.ph-process-card,
.ph-spec-panel,
.ph-spec-visual,
.ph-compliance-card {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
}

.ph-metric-card,
.ph-feature-card,
.ph-application-card,
.ph-category-card,
.ph-process-card,
.ph-spec-panel,
.ph-spec-visual,
.ph-compliance-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(13, 24, 41, 0.08);
  box-shadow: 0 26px 56px rgba(13, 24, 41, 0.08);
}

.ph-panel-tilt {
  transform-style: preserve-3d;
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), box-shadow var(--transition-med), border-color var(--transition-med);
}

.ph-panel-tilt:hover {
  border-color: rgba(13, 24, 41, 0.14);
  box-shadow: 0 32px 72px rgba(13, 24, 41, 0.14);
}

.ph-metric-card {
  padding: 26px 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.96));
}

.ph-metric-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  border-radius: 16px;
  background: var(--ph-gradient-soft);
  color: var(--ph-accent-dark);
}

.ph-metric-value {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--text-primary);
}

.ph-metric-label {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.ph-features-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ph-feature-card {
  padding: 28px 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 248, 252, 0.96));
}

.ph-feature-card::before,
.ph-application-card::before,
.ph-process-card::before,
.ph-compliance-card::before,
.ph-category-card::before,
.ph-spec-panel::before,
.ph-spec-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.18), transparent 45%);
  pointer-events: none;
}

.ph-feature-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 22px;
  border-radius: 18px;
  background: var(--ph-gradient-soft);
  color: var(--ph-accent-dark);
}

.ph-feature-title,
.ph-application-title,
.ph-process-title,
.ph-compliance-name {
  margin-bottom: 10px;
  font-size: 1.06rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.ph-feature-desc,
.ph-application-copy,
.ph-process-desc,
.ph-compliance-copy {
  font-size: 0.92rem;
  line-height: 1.72;
  color: var(--text-secondary);
}

.ph-specs-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 28px;
  align-items: stretch;
}

.ph-spec-panel {
  padding: 32px 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 247, 252, 0.95));
}

.ph-spec-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  color: var(--ph-accent-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ph-spec-kicker::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
}

.ph-spec-rows {
  display: grid;
  gap: 14px;
  margin-bottom: 28px;
}

.ph-spec-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px 18px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 251, 255, 0.92));
  border: 1px solid rgba(13, 24, 41, 0.08);
  box-shadow: 0 10px 24px rgba(13, 24, 41, 0.05);
  position: relative;
  overflow: hidden;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.22s ease, box-shadow 0.22s ease;
}

.ph-spec-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--ph-gradient);
  opacity: 0.6;
}

.ph-spec-row::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--ph-accent-fade) 0%, transparent 72%);
  pointer-events: none;
}

.ph-spec-row:hover {
  transform: translateY(-2px);
  border-color: rgba(13, 24, 41, 0.14);
  box-shadow: 0 16px 32px rgba(13, 24, 41, 0.1);
}

.ph-spec-key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(13, 24, 41, 0.08);
  background: rgba(255, 255, 255, 0.78);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ph-accent-dark);
}

.ph-spec-val {
  font-size: 0.94rem;
  line-height: 1.7;
  color: var(--text-primary);
}

.ph-spec-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ph-spec-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 16px;
  border: 1px solid rgba(13, 24, 41, 0.08);
  background: rgba(255, 255, 255, 0.88);
  color: var(--text-primary);
  font-size: 0.82rem;
  font-weight: 700;
}

.ph-spec-chip-icon {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: var(--ph-accent-fade);
  color: var(--ph-accent);
}

.ph-spec-visual {
  min-height: 100%;
  background:
    linear-gradient(180deg, rgba(11, 21, 35, 0.06), rgba(11, 21, 35, 0.16));
}

.ph-spec-visual.ph-panel-tilt {
  transition: transform 0.12s cubic-bezier(0.2, 0.9, 0.2, 1), box-shadow 0.22s ease, border-color 0.22s ease;
}

.ph-spec-visual img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.ph-spec-visual-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 30px;
  background:
    linear-gradient(180deg, transparent 4%, rgba(8, 14, 28, 0.88) 100%);
  color: #fff;
}

.ph-spec-visual-title {
  margin-bottom: 8px;
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 400;
}

.ph-spec-visual-copy {
  max-width: 420px;
  margin-bottom: 18px;
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
}

.ph-callout-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ph-callout {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.88);
  text-transform: uppercase;
}

.ph-app-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ph-application-card {
  padding: 30px 26px;
}

.ph-application-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: var(--ph-gradient-soft);
  color: var(--ph-accent-dark);
  font-size: 0.86rem;
  font-weight: 800;
}

.ph-process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.ph-process-card {
  padding: 28px 24px;
  text-align: left;
}

.ph-process-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--ph-gradient);
  box-shadow: 0 18px 36px rgba(13, 24, 41, 0.18);
  color: #fff;
  font-size: 0.96rem;
  font-weight: 800;
}

.ph-section--dark .section-title,
.ph-section--dark .section-desc,
.ph-section--dark .eyebrow,
.ph-section--dark .section-subtitle {
  color: #fff;
}

.ph-section--dark .eyebrow::before {
  background: rgba(255, 255, 255, 0.7);
}

.ph-section--dark .section-desc,
.ph-section--dark .section-subtitle {
  color: rgba(255, 255, 255, 0.68);
}

.ph-compliance-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ph-compliance-card {
  padding: 28px 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.ph-compliance-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.ph-compliance-name {
  color: #fff;
}

.ph-compliance-copy {
  color: rgba(255, 255, 255, 0.72);
}

.ph-category-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ph-category-card {
  display: block;
  min-height: 252px;
  padding: 42px 176px 42px 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 248, 252, 0.96));
  transition: transform var(--transition-med), box-shadow var(--transition-med), border-color var(--transition-med);
  z-index: 0;
}

.ph-category-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 34px 72px rgba(13, 24, 41, 0.14),
    0 0 32px var(--cat-glow, rgba(26, 125, 200, 0.26));
}

.ph-category-card.is-active {
  border-color: rgba(13, 24, 41, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(247, 250, 255, 1));
  box-shadow: 0 28px 64px rgba(13, 24, 41, 0.12);
}

.ph-category-card.is-active .ph-category-accent {
  opacity: 1;
}

.ph-category-card.is-active .ph-category-icon {
  border-color: rgba(13, 24, 41, 0.2);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 248, 255, 0.98));
  box-shadow: 0 12px 22px rgba(13, 24, 41, 0.1);
}

.ph-category-card::after {
  content: "";
  position: absolute;
  inset: -24% -8% auto -8%;
  height: 110px;
  background: radial-gradient(ellipse at top, var(--cat-glow, rgba(26, 125, 200, 0.24)) 0%, transparent 72%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease;
  z-index: -1;
}

.ph-category-card:hover::after,
.ph-category-card.is-active::after {
  opacity: 1;
}

.ph-category-top {
  display: block;
  margin-bottom: 22px;
}

.ph-category-media {
  position: absolute;
  top: 50%;
  right: 20px;
  width: 136px;
  height: calc(100% - 32px);
  transform: translateY(-50%);
  overflow: hidden;
  border-radius: 16px;
}

.ph-category-thumb {
  width: 100%;
  height: 100%;
  border-radius: 16px;
  object-fit: cover;
  border: 1px solid rgba(13, 24, 41, 0.14);
  box-shadow: 0 12px 28px rgba(13, 24, 41, 0.14);
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.ph-category-card:hover .ph-category-thumb {
  transform: scale(1.1);
}

.ph-category-num {
  display: inline-block;
  margin-bottom: 0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.ph-category-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  border: 1px solid rgba(13, 24, 41, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(246, 249, 255, 0.95));
  color: var(--ph-accent-dark);
  box-shadow: 0 10px 18px rgba(13, 24, 41, 0.07);
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.22s ease, border-color 0.22s ease;
  position: absolute;
  right: -8px;
  bottom: 20px;
}

.ph-category-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ph-category-card:hover .ph-category-icon {
  transform: translateY(-2px) scale(1.04);
  border-color: rgba(13, 24, 41, 0.2);
  box-shadow: 0 14px 24px rgba(13, 24, 41, 0.12);
}

.ph-category-name {
  margin-bottom: 10px;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--text-primary);
}

.ph-category-copy {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.ph-category-accent {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: var(--ph-gradient);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.ph-pre-footer-zone {
  position: relative;
  background: var(--bg-primary);
}

body.product-detail-page .footer-wave-divider {
  background: #f4f7fc !important;
  margin-top: -1px;
}

.ph-final-cta-banner {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(circle at 16% 26%, var(--ph-accent-soft) 0%, transparent 34%),
    linear-gradient(135deg, #065192 0%, var(--ph-accent-dark) 44%, #0b1523 100%);
}

.ph-final-cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 20%, rgba(255, 255, 255, 0.12) 0%, transparent 28%),
    radial-gradient(circle at 72% 82%, rgba(255, 255, 255, 0.08) 0%, transparent 36%);
  pointer-events: none;
  z-index: 0;
}

.ph-final-cta-banner .cta-inner {
  position: relative;
  z-index: 1;
}

.ph-final-cta-banner .eyebrow {
  color: rgba(168, 212, 245, 0.88) !important;
}

.ph-final-cta-banner .cta-title {
  color: #ffffff;
  text-wrap: balance;
}

.ph-final-cta-banner .cta-subtitle {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.82);
}

.ph-final-cta-banner .btn {
  min-width: 220px;
}

.ph-empty-state {
  padding: 120px 0;
  text-align: center;
  color: var(--text-secondary);
}

[data-product-reveal] {
  opacity: 0;
  transform: translateY(34px);
}

[data-product-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1200px) {
  .container {
    padding: 0 32px;
  }

  .ph-features-grid,
  .ph-compliance-grid,
  .ph-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ph-metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ph-process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .ph-hero-inner,
  .ph-specs-layout {
    grid-template-columns: 1fr;
  }

  .ph-visual {
    order: -1;
  }

  .ph-stage {
    min-height: 520px;
  }

  .ph-spec-visual img {
    min-height: 420px;
  }

  .ph-app-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .container {
    padding: 0 20px;
  }

  .ph-hero {
    padding: calc(var(--nav-height) + 36px) 0 76px;
  }

  .ph-bg-num {
    font-size: clamp(120px, 24vw, 180px);
    top: 16%;
    right: 4%;
    transform: none;
  }

  .ph-stage {
    min-height: 440px;
  }

  .ph-3d-card {
    top: 72px;
    width: min(320px, 86%);
  }

  .ph-card-image-wrap {
    height: 248px;
  }

  .ph-badge {
    font-size: 0.7rem;
    padding: 10px 12px;
  }

  .ph-badge-1 {
    top: 22px;
    right: 0;
  }

  .ph-badge-2 {
    left: 12px;
    bottom: 122px;
  }

  .ph-badge-3 {
    right: 12px;
    bottom: 34px;
  }

  .ph-orbit-chip {
    min-width: 92px;
    padding: 10px 14px;
    font-size: 0.68rem;
  }

  .ph-orbit-chip-1 {
    top: 84px;
    left: 6px;
  }

  .ph-orbit-chip-2 {
    right: 14px;
    top: 150px;
  }

  .ph-orbit-chip-3 {
    left: 26px;
    bottom: 26px;
  }

  .ph-metric-grid,
  .ph-features-grid,
  .ph-process-grid,
  .ph-compliance-grid,
  .ph-category-grid {
    grid-template-columns: 1fr;
  }

  .ph-section {
    padding: 84px 0;
  }

  .ph-spec-row {
    grid-template-columns: 1fr;
  }

  .ph-final-cta-banner {
    padding-top: 120px;
    padding-bottom: 120px;
  }
}

/* ===== Quick Answer / Kurzantwort ===== */
.ph-quick-answer-section {
  padding: 80px 0;
}
.ph-quick-answer-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  padding: 40px 44px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 245, 248, 0.96));
  border-left: 6px solid var(--ph-accent);
  box-shadow: 0 18px 48px rgba(10, 22, 50, 0.06);
}
.ph-quick-answer-head .eyebrow {
  margin-bottom: 14px;
}
.ph-quick-answer-lead {
  font-family: var(--font-serif, "DM Serif Display", serif);
  font-size: clamp(1.25rem, 1.7vw, 1.6rem);
  line-height: 1.4;
  color: var(--text-primary);
  margin: 0 0 12px;
  font-weight: 400;
}
.ph-quick-answer-note {
  font-size: 0.88rem;
  font-style: italic;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}
.ph-qa-facts {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}
.ph-qa-fact {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 18px;
  background: var(--ph-accent-fade, rgba(196, 122, 138, 0.1));
  border-radius: 14px;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-primary);
}
.ph-qa-fact-icon {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--ph-gradient, linear-gradient(135deg, #c47a8a, #6f2e43));
  color: #fff;
}
.ph-qa-fact-icon svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ph-qa-fact-text { display: block; }

@media (max-width: 880px) {
  .ph-quick-answer-card {
    grid-template-columns: minmax(0, 1fr);
    padding: 28px 24px;
    gap: 22px;
  }
  .ph-quick-answer-section { padding: 60px 0; }
}

/* ===== Product Grid (8 categories) ===== */
.ph-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.ph-product-card {
  position: relative;
  padding: 26px 22px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 248, 252, 0.96));
  box-shadow: 0 14px 36px rgba(10, 22, 50, 0.05);
  border: 1px solid rgba(10, 22, 50, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}
.ph-product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.18), transparent 45%);
  pointer-events: none;
}
.ph-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 52px rgba(10, 22, 50, 0.1);
}
.ph-product-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--ph-gradient-soft);
  color: var(--ph-accent-dark);
  margin-bottom: 18px;
}
.ph-product-card-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ph-product-card-title {
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  color: var(--text-primary);
}
.ph-product-card-copy {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0;
}
@media (max-width: 1024px) {
  .ph-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  body.product-detail-page .ph-visual {
    width: 100vw;
    margin: 0 calc(50% - 50vw);
    justify-content: center;
  }

  body.product-detail-page .ph-stage {
    width: 100%;
    min-height: clamp(520px, 124vw, 620px);
    overflow: hidden;
    background: #dde4ed !important;
    border-radius: 0 !important;
  }

  body.product-detail-page .ph-stage::before {
    display: none !important;
  }

  body.product-detail-page .ph-3d-card {
    top: clamp(96px, 24vw, 128px);
    left: 50%;
    width: min(84vw, 390px);
    transform: translateX(-50%);
  }

  body.product-detail-page .ph-card-image-wrap {
    height: 100%;
    border-radius: 0;
  }

  body.product-detail-page .ph-card-image {
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: none;
  }

  body.product-detail-page .ph-card-image-wrap::after {
    background:
      linear-gradient(180deg, rgba(9, 28, 52, 0.18) 0%, rgba(9, 28, 52, 0.03) 42%, rgba(9, 28, 52, 0.28) 100%),
      linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 52%);
  }

  body.product-detail-page .ph-card-body,
  body.product-detail-page .ph-card-shine {
    display: none;
  }

  body.product-detail-page .ph-badge {
    z-index: 4;
    white-space: nowrap;
  }

  body.product-detail-page .ph-badge-1 {
    top: clamp(120px, 29vw, 150px);
    right: clamp(18px, 8vw, 44px);
  }

  body.product-detail-page .ph-badge-2 {
    left: clamp(22px, 9vw, 56px);
    bottom: clamp(126px, 31vw, 168px);
  }

  body.product-detail-page .ph-badge-3 {
    right: clamp(18px, 7vw, 42px);
    bottom: clamp(56px, 15vw, 88px);
  }

  body.product-detail-page .ph-orbit-chip {
    z-index: 4;
  }

  body.product-detail-page .ph-orbit-chip-1 {
    top: clamp(210px, 50vw, 260px);
    left: clamp(16px, 8vw, 44px);
  }

  body.product-detail-page .ph-orbit-chip-2 {
    top: clamp(312px, 74vw, 386px);
    right: clamp(16px, 7vw, 42px);
  }

  body.product-detail-page .ph-orbit-chip-3 {
    left: clamp(34px, 10vw, 64px);
    bottom: clamp(46px, 13vw, 78px);
  }

  .ph-product-grid-section {
    overflow: hidden;
    background: var(--bg-card);
  }
  .ph-product-grid {
    display: flex;
    grid-template-columns: unset;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding: 8px 24px 16px;
    margin: 0 -24px;
    background: inherit;
    border: 0;
    box-shadow: none;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
  }
  .ph-product-grid::-webkit-scrollbar {
    display: none;
  }
  .ph-product-card {
    flex: 0 0 82vw;
    min-width: 260px;
    max-width: 340px;
    scroll-snap-align: center;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.74)),
      var(--ph-gradient-soft);
    box-shadow: none;
    border-color: var(--ph-accent-soft);
  }
  .ph-product-card::before {
    display: none;
  }
  .ph-product-card:hover {
    transform: none;
    box-shadow: none;
  }

  .ph-section--footer-blend {
    overflow: hidden;
  }
  .ph-category-grid {
    display: flex;
    grid-template-columns: unset;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding: 8px 24px 16px;
    margin: 0 -24px;
    background: inherit;
    border: 0;
    box-shadow: none;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
  }
  .ph-category-grid::-webkit-scrollbar {
    display: none;
  }
  .ph-category-card {
    flex: 0 0 82vw;
    min-width: 260px;
    max-width: 340px;
    scroll-snap-align: center;
    box-shadow: none;
    min-height: 252px;
    padding: 42px clamp(150px, 42vw, 176px) 42px 24px;
  }
  .ph-category-media {
    right: 18px;
    width: clamp(118px, 34vw, 138px);
    height: calc(100% - 34px);
  }
  .ph-category-card:hover,
  .ph-category-card.is-active {
    transform: none;
    box-shadow: none;
  }
  .ph-category-card::after {
    display: none;
  }

  /* ===== Features grid — mobile auto-scroll carousel ===== */
  .ph-section--soft {
    overflow-x: hidden;
  }
  .ph-features-grid {
    display: flex;
    grid-template-columns: unset;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding: 8px 24px 16px;
    margin: 0 -24px;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
  }
  .ph-features-grid::-webkit-scrollbar {
    display: none;
  }
  .ph-feature-card {
    flex: 0 0 82vw;
    min-width: 260px;
    max-width: 340px;
    scroll-snap-align: center;
    box-shadow: none;
  }
  .ph-feature-card:hover {
    transform: none;
    box-shadow: none;
  }
}

/* ===== Metric deck — mobile stack carousel ===== */
@media (max-width: 720px) {
  .ph-metric-grid--deck {
    display: block !important;
    grid-template-columns: unset !important;
    position: relative;
    width: min(380px, 92vw);
    height: 240px;
    margin: 0 auto;
    cursor: pointer;
  }
  .ph-metric-grid--deck .ph-metric-card {
    position: absolute;
    inset: 0;
    will-change: transform, opacity;
    transition:
      transform 0.35s cubic-bezier(0.34, 1.04, 0.64, 1),
      opacity 0.35s ease,
      box-shadow 0.35s ease;
  }
  .ph-metric-grid--deck .ph-metric-card[data-pos="0"] {
    z-index: 4;
    transform: translateY(0) rotate(0deg) scale(1);
    opacity: 1;
    box-shadow: 0 24px 60px rgba(13, 24, 41, 0.18), 0 4px 20px rgba(13, 24, 41, 0.08);
  }
  .ph-metric-grid--deck .ph-metric-card[data-pos="1"] {
    z-index: 3;
    transform: translateY(11px) rotate(2.6deg) scale(0.95);
    opacity: 1;
    box-shadow: 0 10px 28px rgba(13, 24, 41, 0.10);
  }
  .ph-metric-grid--deck .ph-metric-card[data-pos="2"] {
    z-index: 2;
    transform: translateY(20px) rotate(-2deg) scale(0.90);
    opacity: 0.75;
    box-shadow: 0 6px 16px rgba(13, 24, 41, 0.07);
  }
  .ph-metric-grid--deck .ph-metric-card[data-pos="3"] {
    z-index: 1;
    transform: translateY(28px) rotate(1.2deg) scale(0.86);
    opacity: 0.4;
    box-shadow: none;
  }
  .ph-metric-grid--deck .ph-metric-card.is-exiting {
    z-index: 10 !important;
    transform: translateY(-140%) rotate(-14deg) scale(0.88) !important;
    opacity: 0 !important;
    transition:
      transform 0.28s cubic-bezier(0.4, 0, 0.8, 1),
      opacity 0.22s ease !important;
  }
  .ph-metric-deck-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
    margin: 1.8rem auto 0;
  }
  .ph-metric-deck-dots {
    display: flex;
    gap: 9px;
    align-items: center;
  }
  .ph-metric-deck-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(10, 22, 50, 0.18);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background 0.2s, width 0.2s, border-radius 0.2s;
  }
  .ph-metric-deck-dot.active {
    background: var(--ph-accent-dark, #1f3160);
    width: 22px;
    border-radius: 4px;
  }
  .ph-metric-deck-hint {
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.04em;
    opacity: 0.55;
    margin: 0;
  }
}

/* ===== FAQ section themed for product page (reuses .faq-* base classes from style.css) ===== */
.ph-faq-section { padding: 100px 0; background: var(--bg-card, #fff); }
.ph-faq-section .faq-help-link { color: var(--ph-accent-dark); }
.ph-faq-section .faq-help-link:hover { color: var(--ph-accent); }
.ph-faq-section .faq-headline em { color: var(--ph-accent-dark); }

/* ===== MOBILE: image-top + content card hero layout ===== */
@media (max-width: 768px) {
  /* Hero wrapper: transparent, flex column, no padding */
  body.product-detail-page .ph-hero {
    background: transparent !important;
    padding: 0 !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    color: #fff !important;
  }

  /* Hide hero-level decorative layers */
  body.product-detail-page .ph-hero > .ph-hero-bg,
  body.product-detail-page .ph-hero > .ph-bg-num {
    display: none !important;
  }

  /* Hero inner: full-width, no container constraints, column */
  body.product-detail-page .ph-hero-inner {
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
  }

  /* Image section: no extra padding — image starts from top, nav overlays it */
  body.product-detail-page .ph-visual {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }

  /* Stage: tall enough so badges/chips don't crowd */
  body.product-detail-page .ph-stage {
    min-height: clamp(460px, 112vw, 540px) !important;
  }

  /* Card: stretch to fill full stage area */
  body.product-detail-page .ph-3d-card {
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    transform: none !important;
    border-radius: 0 !important;
    animation: none !important;
  }

  /* Image fills card completely */
  body.product-detail-page .ph-card-image-wrap {
    height: 100% !important;
    min-height: clamp(460px, 112vw, 540px) !important;
  }

  /* Chip-1 (PG): move to upper area just below nav — away from badge-2 */
  body.product-detail-page .ph-orbit-chip-1 {
    /* top: 86px !important; */
    left: clamp(16px, 5vw, 24px) !important;
  }

  /* Chip-2 (VG): right side, mid-lower area */
  body.product-detail-page .ph-orbit-chip-2 {
    top: auto !important;
    bottom: clamp(110px, 26vw, 150px) !important;
    right: clamp(16px, 5vw, 24px) !important;
  }

  /* Natural image overlay — just subtle top darkening for nav readability */
  body.product-detail-page .ph-card-image-wrap::after {
    background: linear-gradient(
      180deg,
      rgba(9, 28, 52, 0.28) 0%,
      transparent 30%,
      transparent 70%,
      rgba(9, 28, 52, 0.10) 100%
    ) !important;
  }

  /* Copy section: blue card with rounded top corners, extra bottom for breadcrumb overlap */
  body.product-detail-page .ph-copy {
    position: relative !important;
    overflow: hidden !important;
    padding: 28px 24px 52px !important;
    border-radius: 28px 28px 0 0 !important;
    margin-top: -28px !important;
    z-index: 2 !important;
    background:
      radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.14), transparent 24%),
      radial-gradient(circle at 80% 0%, rgba(255, 255, 255, 0.08), transparent 20%),
      var(--ph-gradient) !important;
  }

  /* Breadcrumb: no background, pulled up over copy's extended bottom — looks like desktop */
  body.product-detail-page .ph-breadcrumb {
    position: relative !important;
    margin-top: -44px !important;
    padding: 15px 24px 10px !important;
    background: transparent !important;
    z-index: 3 !important;
  }

  /* Remove container's own horizontal padding so breadcrumb aligns with buttons above */
  body.product-detail-page .ph-breadcrumb .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: none !important;
  }
}
