/* Product detail pages (GoERP and future products) */

.phero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 64px;
  background: linear-gradient(180deg, #f7faff 0%, #ffffff 70%);
}

.phero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.phero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}

.phero__blob--1 {
  width: min(42vw, 560px);
  height: min(42vw, 560px);
  left: -12%;
  top: -22%;
  background: radial-gradient(circle, rgba(0, 170, 188, 0.16), transparent 70%);
}

.phero__blob--2 {
  width: min(32vw, 460px);
  height: min(32vw, 460px);
  right: -10%;
  bottom: -18%;
  background: radial-gradient(circle, rgba(46, 49, 145, 0.14), transparent 70%);
}

.phero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.phero__eyebrow {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(0, 170, 188, 0.1);
  color: var(--indigo);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.phero__title {
  margin: 0 0 16px;
  font-size: clamp(2rem, 1.3rem + 2.8vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--dark);
}

.phero__title span {
  background: linear-gradient(135deg, #00aabc, #2e3191);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.phero__subtitle {
  margin: 0 0 28px;
  max-width: 46ch;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #4b5563;
}

.phero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.phero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.phero__chip {
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #374151;
  background: #fff;
  border: 1px solid rgba(20, 21, 28, 0.08);
  border-radius: 999px;
  box-shadow: 0 1px 2px rgba(20, 21, 28, 0.04);
}

.phero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
}

.phero__orbit {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.phero__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(46, 49, 145, 0.18);
}

.phero__ring--1 {
  width: min(60vw, 340px);
  height: min(60vw, 340px);
  animation: phero-spin 22s linear infinite;
}

.phero__ring--2 {
  width: min(80vw, 440px);
  height: min(80vw, 440px);
  border-color: rgba(0, 170, 188, 0.14);
  animation: phero-spin 34s linear infinite reverse;
}

.phero__dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  margin: -5px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00aabc, #2e3191);
  box-shadow: 0 0 0 6px rgba(0, 170, 188, 0.12);
}

.phero__dot--1 { animation: phero-orbit-1 22s linear infinite; }
.phero__dot--2 { animation: phero-orbit-2 34s linear infinite reverse; }
.phero__dot--3 {
  animation: phero-orbit-1 28s linear infinite reverse;
  animation-delay: -14s;
}

.phero__logo-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 210px;
  height: 210px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  box-shadow:
    0 1px 2px rgba(20, 21, 28, 0.03),
    0 8px 24px -8px rgba(20, 21, 28, 0.08),
    0 32px 64px -24px rgba(46, 49, 145, 0.22);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  animation: phero-float 5s ease-in-out infinite;
}

.phero__logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

@keyframes phero-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes phero-orbit-1 {
  from { transform: rotate(0deg) translateX(170px) rotate(0deg); }
  to { transform: rotate(360deg) translateX(170px) rotate(-360deg); }
}

@keyframes phero-orbit-2 {
  from { transform: rotate(0deg) translateX(220px) rotate(0deg); }
  to { transform: rotate(360deg) translateX(220px) rotate(-360deg); }
}

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

@media (prefers-reduced-motion: reduce) {
  .phero__ring,
  .phero__dot,
  .phero__logo-wrap {
    animation: none;
  }
}

/* Intro + content blocks */
.psection {
  padding: 72px 0;
}

.psection--soft {
  background: var(--bg-soft, #f7faff);
}

.pintro {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 28px;
  align-items: start;
  max-width: 920px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 32px;
  box-shadow: 0 16px 40px rgba(46, 49, 145, 0.07);
}

.pintro:has(.pintro__icon--fill) {
  grid-template-columns: 96px 1fr;
  align-items: center;
}

.pintro__icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(46, 49, 145, 0.08);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
  display: grid;
  place-items: center;
  padding: 12px;
  flex: 0 0 auto;
}

.pintro__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pintro__icon--fill {
  width: 96px;
  height: 96px;
  padding: 0;
  overflow: hidden;
  background: #00aabc;
  border: 0;
  box-shadow: 0 10px 24px rgba(0, 170, 188, 0.22);
}

.pintro__icon--fill img {
  object-fit: cover;
}

.pintro h2 {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  color: var(--dark);
  letter-spacing: -0.02em;
}

.pintro h2 span {
  color: var(--teal);
}

.pintro p {
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.8;
  margin: 0;
}

.pintro p strong {
  color: var(--dark);
}

/* Visual description photos / mock scenes */
.pshots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.pshot {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 12px 32px rgba(46, 49, 145, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pshot:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 44px rgba(46, 49, 145, 0.14);
}

.pshot__visual {
  position: relative;
  min-height: 180px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: #fff;
}

.pshot--sales .pshot__visual {
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.18), transparent 40%),
    linear-gradient(145deg, #2e3191, #00aabc);
}

.pshot--stock .pshot__visual {
  background:
    radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.16), transparent 40%),
    linear-gradient(145deg, #0b1630, #2e3191 55%, #3d7cff);
}

.pshot--finance .pshot__visual {
  background:
    radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.16), transparent 42%),
    linear-gradient(145deg, #0d8a99, #00aabc 50%, #2e3191);
}

.pshot__bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 72px;
  margin-top: auto;
}

.pshot__bars span {
  flex: 1;
  border-radius: 8px 8px 4px 4px;
  background: rgba(255, 255, 255, 0.28);
}

.pshot__bars span:nth-child(1) { height: 42%; }
.pshot__bars span:nth-child(2) { height: 68%; }
.pshot__bars span:nth-child(3) { height: 55%; }
.pshot__bars span:nth-child(4) { height: 88%; }
.pshot__bars span:nth-child(5) { height: 62%; }

.pshot__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.78rem;
  font-weight: 700;
}

.pshot__kpi {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.pshot__label {
  font-size: 0.8rem;
  opacity: 0.85;
  font-weight: 600;
}

.pshot__body {
  padding: 18px 20px 22px;
}

.pshot__body h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: var(--dark);
}

.pshot__body p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* Benefit / module / industry grids */
.pgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.pgrid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.pcard {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 10px 28px rgba(46, 49, 145, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.pcard:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 170, 188, 0.28);
  box-shadow: 0 18px 40px rgba(46, 49, 145, 0.12);
}

.pcard__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(0, 170, 188, 0.1);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  color: var(--teal);
  font-weight: 800;
  font-size: 1.1rem;
}

.pcard h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: var(--dark);
  line-height: 1.35;
}

.pcard p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.65;
}

.pvideo {
  width: min(240px, 58vw);
  margin: 0 auto 28px;
  border-radius: 20px;
  overflow: hidden;
  background: transparent;
  border: 0;
  box-shadow: 0 12px 28px rgba(46, 49, 145, 0.12);
}

.pvideo video {
  display: block;
  width: 100%;
  height: auto;
}

.pvideo--sm {
  width: min(200px, 48vw);
  margin: 0 auto 18px;
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(46, 49, 145, 0.1);
}

.psection__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 36px;
}

.psection__head .section__title {
  margin-bottom: 10px;
}

.psection__head > img {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  display: block;
}

.psection__brand {
  width: fit-content;
  max-width: min(280px, 72%);
  margin: 0 auto 16px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.psection__brand img {
  display: block;
  width: min(220px, 58vw);
  height: auto;
  max-height: 52px;
  object-fit: contain;
  margin: 0 auto;
}

/* Integrations */
.pint {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.pint__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  padding: 22px 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(46, 49, 145, 0.05);
  transition: transform 0.25s ease;
}

.pint__item:hover {
  transform: translateY(-4px);
}

.pint__item img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.pint__item span {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.35;
}

.pnote {
  max-width: 860px;
  margin: 36px auto 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

/* Hardware / software product showcase */
.phw {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
}

.phw--reverse {
  grid-template-columns: 0.85fr 1.15fr;
}

.phw--reverse .phw__media {
  order: 2;
}

.phw--reverse .phw__copy {
  order: 1;
}

.phw__media {
  position: relative;
  background:
    radial-gradient(circle at 20% 20%, rgba(0, 170, 188, 0.08), transparent 45%),
    linear-gradient(180deg, #f8fafc, #ffffff);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 18px 44px rgba(46, 49, 145, 0.1);
  overflow: hidden;
}

.phw__media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.phw__media--ports {
  padding: 0;
}

.phw__media--ports img {
  min-height: 280px;
  object-fit: cover;
}

.phw__badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 1;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(20, 21, 28, 0.88);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.phw__copy h2 {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--dark);
  letter-spacing: -0.02em;
}

.phw__copy p {
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.75;
  margin: 0 0 16px;
}

.phw__list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.phw__list li {
  position: relative;
  padding-left: 28px;
  color: var(--text);
  font-weight: 600;
  line-height: 1.5;
}

.phw__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(0, 170, 188, 0.14);
  color: var(--teal);
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 800;
}

.phw-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 36px;
  padding: 28px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--border);
}

.phw-brand img {
  max-height: 72px;
  width: auto;
  object-fit: contain;
}

.phw-brand__dark {
  background: #2e3191;
  border-radius: 18px;
  padding: 18px 28px;
}

.phw-brand__dark img {
  max-height: 56px;
}

@media (max-width: 900px) {
  .phw,
  .phw--reverse {
    grid-template-columns: 1fr;
  }

  .phw--reverse .phw__media,
  .phw--reverse .phw__copy {
    order: initial;
  }
}

/* Work album / gallery */
.palbum {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-auto-rows: 200px;
  gap: 14px;
}

.palbum__item {
  position: relative;
  display: block;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 10px 28px rgba(46, 49, 145, 0.08);
  background: #0b1630;
}

.palbum__item--wide {
  grid-column: span 1;
  grid-row: span 2;
}

.palbum__item--tall {
  grid-row: span 2;
}

.palbum__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
  display: block;
}

.palbum__item:hover img {
  transform: scale(1.05);
}

.palbum__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 16px;
  background: linear-gradient(180deg, transparent, rgba(11, 22, 48, 0.85));
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
}

@media (max-width: 900px) {
  .palbum {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 180px;
  }

  .palbum__item--wide,
  .palbum__item--tall {
    grid-column: span 1;
    grid-row: span 1;
  }
}

@media (max-width: 560px) {
  .palbum {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }
}

@media (max-width: 980px) {
  .phero__inner,
  .pshots,
  .pgrid {
    grid-template-columns: 1fr 1fr;
  }

  .pint {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 720px) {
  .phero__inner,
  .pshots,
  .pgrid,
  .pint {
    grid-template-columns: 1fr;
  }

  .pintro {
    grid-template-columns: 1fr;
  }

  .phero__visual {
    min-height: 300px;
  }

  .phero__actions {
    justify-content: center;
  }

  .phero__chips {
    justify-content: center;
  }

  .phero__inner {
    text-align: center;
  }

  .phero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }
}
