/* ============================================================
   PRODUCTS SHOWCASE — premium SaaS/ERP product showcase (LIGHT)
   Scoped entirely under .pshow-section so nothing here leaks
   into the rest of the existing site (header/footer untouched).
   ============================================================ */

.pshow-section {
    /* --pshow-bg: #ffffff; */
    --pshow-bg-2: #f2f4fb;
    --pshow-ink-btn: #ffffff;
    --pshow-purple: #2377ff;
    --pshow-blue: #1d4cab;
    --pshow-cyan: #1d4cab;
    --pshow-cyan-bright: #2377ff;
    --pshow-gold: #1d4cab;
    --pshow-pink: #011a3e;
    --pshow-red: #1d4cab;
    --pshow-text: #011a3e;
    --pshow-muted: #7a808d;
    --pshow-line: rgba(1, 26, 62, 0.1);
    --pshow-glass: rgba(255, 255, 255, 0.72);
    --pshow-glass-border: rgba(1, 26, 62, 0.09);
    --pshow-radius: 22px;
    position: relative;
    background: var(--pshow-bg);
    color: var(--pshow-text);
    isolation: isolate;
    padding: 110px 0 100px;
}

.pshow-section * {
  box-sizing: border-box;
}

/* ---------- Background: soft pastel gradients + particles + noise ---------- */
.pshow-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(60% 45% at 18% 8%, rgba(35, 119, 255, 0.12), transparent 70%),
    radial-gradient(55% 40% at 85% 20%, rgba(29, 76, 171, 0.10), transparent 70%),
    radial-gradient(45% 35% at 75% 90%, rgba(1, 26, 62, 0.08), transparent 70%),
    radial-gradient(40% 30% at 10% 85%, rgba(35, 119, 255, 0.08), transparent 70%),
    linear-gradient(180deg, var(--pshow-bg) 0%, var(--pshow-bg-2) 50%, var(--pshow-bg) 100%);
}

.pshow-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.pshow-stars {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.pshow-star {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(1, 26, 62, 0.4);
  animation: pshow-twinkle linear infinite;
}

.pshow-dot {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--pshow-cyan-bright);
  filter: blur(0.5px);
  opacity: 0.55;
  animation: pshow-float-dot ease-in-out infinite;
}

@keyframes pshow-twinkle {
  0%, 100% { opacity: 0.12; }
  50% { opacity: 0.55; }
}

@keyframes pshow-float-dot {
  0%, 100% { transform: translateY(0); opacity: 0.3; }
  50% { transform: translateY(-18px); opacity: 0.75; }
}

/* ---------- Header ---------- */
.pshow-head {
  position: relative;
  z-index: 2;
  text-align: center;
  /* max-width: 640px; */
  margin: 0 auto 70px;
  padding: 0 20px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.pshow-head.pshow-in {
  opacity: 1;
  transform: translateY(0);
}

.pshow-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--pshow-cyan);
  margin-bottom: 18px;
}

.pshow-kicker .pshow-kicker-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pshow-cyan);
  box-shadow: 0 0 10px rgba(8, 145, 168, 0.5);
}

.pshow-head h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--pshow-text);
  margin-bottom: 14px;
}

.pshow-head h2 span {
  background: linear-gradient(90deg, var(--pshow-purple), var(--pshow-cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pshow-head p {
  color: var(--pshow-muted);
  font-size: 16px;
  line-height: 26px;
}

/* ---------- Layout shell ---------- */
.pshow-body {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  align-items: start;
}

/* ---------- Left rail: numbered nav ---------- */
.pshow-index {
  position: sticky;
  top: 130px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pshow-index-line {
  position: absolute;
  left: 13px;
  top: 14px;
  bottom: 14px;
  width: 1px;
  background: var(--pshow-line);
  z-index: 0;
}

.pshow-index-item {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 4px;
  cursor: pointer;
  background: none;
  border: none;
  text-align: left;
  font-family: inherit;
}

.pshow-index-num {
  flex: none;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--pshow-muted);
  background: var(--pshow-bg-2);
  border: 1px solid var(--pshow-line);
  transition: all 0.35s ease;
}

.pshow-index-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--pshow-muted);
  transition: color 0.35s ease;
  white-space: nowrap;
}

.pshow-index-item.is-active .pshow-index-num {
  color: var(--pshow-ink-btn);
  background: linear-gradient(135deg, var(--pshow-purple), var(--pshow-cyan-bright));
  border-color: transparent;
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.14), 0 6px 16px rgba(124, 58, 237, 0.35);
}

.pshow-index-item.is-active .pshow-index-label {
  color: var(--pshow-text);
  font-weight: 700;
}

.pshow-index-item:hover .pshow-index-label {
  color: var(--pshow-text);
}

/* ---------- Product rows ---------- */
.pshow-product {
  min-height: 78vh;
  display: grid;
  grid-template-columns: minmax(260px, 420px) 1fr;
  gap: 56px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid var(--pshow-line);
}

.pshow-product:last-child {
  border-bottom: none;
}

/* Visual / glass card */
.pshow-visual {
  position: relative;
  aspect-ratio: 1 / 0.92;
  border-radius: var(--pshow-radius);
  background: linear-gradient(160deg, var(--pshow-glass), rgba(255, 255, 255, 0.55));
  border: 1px solid var(--pshow-glass-border);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 30px 60px -24px rgba(20, 20, 60, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px) scale(0.96);
  transition: opacity 0.9s cubic-bezier(.2,.8,.2,1), transform 0.9s cubic-bezier(.2,.8,.2,1);
  animation: pshow-card-float 6s ease-in-out infinite;
  animation-play-state: paused;
}

.pshow-product.pshow-in .pshow-visual {
  opacity: 1;
  transform: translateY(0) scale(1);
  animation-play-state: running;
}

@keyframes pshow-card-float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-10px) scale(1); }
}

.pshow-visual:hover {
  border-color: rgba(20, 22, 43, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 34px 70px -22px rgba(20, 20, 60, 0.24);
}

.pshow-visual-glow {
  position: absolute;
  inset: -20%;
  z-index: 0;
  filter: blur(34px);
  opacity: 0.32;
  transition: opacity 0.4s ease;
}

.pshow-visual:hover .pshow-visual-glow {
  opacity: 0.5;
}

.pshow-tag {
  position: absolute;
  top: 20px;
  left: 22px;
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--pshow-muted);
  z-index: 2;
  font-weight: 600;
}

.pshow-visual-icon {
  position: relative;
  z-index: 2;
  width: 46%;
  color: var(--pshow-text);
  filter: drop-shadow(0 12px 22px rgba(20, 20, 60, 0.14));
}

.pshow-visual-icon svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Content column */
.pshow-content {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s ease 0.12s, transform 0.8s ease 0.12s;
}

.pshow-product.pshow-in .pshow-content {
  opacity: 1;
  transform: translateY(0);
}

.pshow-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--pshow-cyan);
  margin-bottom: 12px;
}

.pshow-content h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--pshow-text);
  margin-bottom: 12px;
}

.pshow-tagline {
  font-size: 17px;
  font-weight: 600;
  color: var(--pshow-cyan);
  line-height: 1.5;
  margin-bottom: 14px;
}

.pshow-desc {
  font-size: 15px;
  line-height: 26px;
  color: var(--pshow-muted);
  margin-bottom: 26px;
  max-width: 560px;
}

.pshow-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 22px;
  margin-bottom: 30px;
  padding: 0;
  list-style: none;
}

.pshow-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 21px;
  color: #3a3d52;
  transition: transform 0.25s ease, color 0.25s ease;
}

.pshow-features li:hover {
  transform: translateX(3px);
  color: var(--pshow-text);
}

.pshow-features li svg {
  flex: none;
  margin-top: 3px;
  color: var(--pshow-cyan);
  transition: transform 0.25s ease;
}

.pshow-features li:hover svg {
  transform: scale(1.15);
}

.pshow-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--pshow-ink-btn);
  background: linear-gradient(135deg, var(--pshow-cyan), var(--pshow-blue));
  padding: 13px 24px;
  border-radius: 30px;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pshow-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, var(--pshow-purple), var(--pshow-pink));
  opacity: 0;
  transition: opacity 0.35s ease;
}

.pshow-cta .pshow-arrow {
  transition: transform 0.3s ease;
}

.pshow-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -10px rgba(8, 145, 168, 0.45);
}

.pshow-cta:hover::before {
  opacity: 1;
}

.pshow-cta:hover .pshow-arrow {
  transform: translateX(4px);
}

/* ---------- Closing CTA strip ---------- */
.pshow-final {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 70px auto 0;
  padding: 52px 40px;
  text-align: center;
  border-radius: 26px;
  border: 1px solid var(--pshow-glass-border);
  background: linear-gradient(160deg, var(--pshow-glass), rgba(255, 255, 255, 0.5));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 30px 60px -30px rgba(20, 20, 60, 0.18);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.pshow-final.pshow-in {
  opacity: 1;
  transform: translateY(0);
}

.pshow-final h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--pshow-text);
  margin-bottom: 10px;
}

.pshow-final p {
  color: var(--pshow-muted);
  font-size: 15px;
  margin-bottom: 26px;
}

/* ---------- Mobile / tablet nav (horizontal tabs) ---------- */
.pshow-index-mobile {
  display: none;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 991px) {
  .pshow-body {
    grid-template-columns: 1fr;
  }

  .pshow-index {
    display: none;
  }

  .pshow-index-mobile {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    position: sticky;
    top: 0;
    z-index: 5;
    padding: 12px 4px 16px;
    margin-bottom: 30px;
    background: linear-gradient(180deg, var(--pshow-bg) 70%, transparent);
    scrollbar-width: none;
  }

  .pshow-index-mobile::-webkit-scrollbar {
    display: none;
  }

  .pshow-index-mobile .pshow-tab {
    flex: none;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: 20px;
    border: 1px solid var(--pshow-line);
    background: var(--pshow-glass);
    color: var(--pshow-muted);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
  }

  .pshow-index-mobile .pshow-tab.is-active {
    color: var(--pshow-ink-btn);
    background: linear-gradient(135deg, var(--pshow-cyan), var(--pshow-blue));
    border-color: transparent;
  }

  .pshow-product {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 32px;
    padding: 34px 0;
  }

  .pshow-visual {
    max-width: 420px;
    margin: 0 auto;
    aspect-ratio: 1 / 0.85;
  }
}

@media (max-width: 640px) {
  .pshow-section {
    padding: 80px 0 70px;
  }

  .pshow-head h2 {
    font-size: 30px;
  }

  .pshow-content h3 {
    font-size: 25px;
  }

  .pshow-features {
    grid-template-columns: 1fr;
  }

  .pshow-final {
    padding: 40px 22px;
    margin-left: 16px;
    margin-right: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pshow-section *,
  .pshow-section *::before,
  .pshow-section *::after {
    animation: none !important;
    transition: none !important;
  }
}