/* Dedicated product pages — Avid LMS & Avid OSM (full dark theme) */

body.aws-prod-page,
body.aws-prod-page.aws-site {
  margin: 0;
  font-family: var(--aws-font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--aws-text);
  background: var(--aws-bg) !important;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.aws-prod-page img {
  max-width: 100%;
  height: auto;
  display: block;
}

body.aws-prod-page a {
  text-decoration: none;
  color: inherit;
}

body.aws-prod-page ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

body.aws-prod-page main {
  background: var(--aws-bg);
  color: var(--aws-text-bright);
}

/* Dark header — match homepage */
body.aws-prod-page .aws-header:not(.is-scrolled) {
  background: rgba(6, 11, 24, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body.aws-prod-page .aws-header__logo img {
  height: 76px;
  width: auto;
  max-width: min(220px, 40vw);
  object-fit: contain;
  filter: drop-shadow(0 2px 16px rgba(0, 0, 0, 0.25));
}

body.aws-prod-page .aws-footer__brand img {
  height: 60px;
  width: auto;
  max-width: 174px;
  object-fit: contain;
}

@media (max-width: 991px) {
  body.aws-prod-page {
    --aws-header-h: 84px;
  }

  body.aws-prod-page .aws-header__logo img {
    height: 60px;
    max-width: 174px;
  }
}

/* Product screenshots sit on dark chrome */
body.aws-prod-page .aws-shot {
  border-color: rgba(255, 255, 255, 0.12);
  background: #0c1424;
}

body.aws-prod-page .aws-prod-hero__visual .aws-product-slider__slide--eval,
body.aws-prod-page .aws-prod-hero__visual .aws-eval-mock {
  border-radius: 0;
}
.aws-prod-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

.aws-prod-breadcrumb a {
  color: rgba(255, 255, 255, 0.65);
}

.aws-prod-breadcrumb a:hover {
  color: #60a5fa;
}

.aws-prod-hero {
  padding: calc(var(--aws-header-h) + 56px) 0 clamp(48px, 6vw, 72px);
  background: var(--aws-bg);
  position: relative;
  overflow: hidden;
}

.aws-prod-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 50% at 20% 30%, rgba(59, 130, 246, 0.14), transparent 55%),
    radial-gradient(ellipse 45% 45% at 85% 60%, rgba(16, 185, 129, 0.1), transparent 50%);
  pointer-events: none;
}

.aws-prod-hero--osm::before {
  background:
    radial-gradient(ellipse 55% 50% at 20% 30%, rgba(16, 185, 129, 0.14), transparent 55%),
    radial-gradient(ellipse 45% 45% at 85% 60%, rgba(168, 85, 247, 0.1), transparent 50%);
}

.aws-prod-hero--erp::before {
  background:
    radial-gradient(ellipse 55% 50% at 20% 30%, rgba(139, 92, 246, 0.16), transparent 55%),
    radial-gradient(ellipse 45% 45% at 85% 60%, rgba(59, 130, 246, 0.1), transparent 50%);
}

body.aws-prod-page .aws-prod-hero--erp {
  padding: calc(var(--aws-header-h) + 28px) 0 clamp(28px, 4vh, 44px);
  min-height: calc(100dvh - 48px);
  display: flex;
  align-items: center;
}

body.aws-prod-page .aws-prod-hero--erp > .container-fluid {
  width: 100%;
}

body.aws-prod-page .aws-prod-hero--erp .aws-prod-breadcrumb {
  margin-bottom: 10px;
}

body.aws-prod-page .aws-prod-hero--erp h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: 1.15;
  margin-bottom: 12px;
}

body.aws-prod-page .aws-prod-hero--erp h1 .aws-prod-hero__title-line {
  font-size: clamp(1.2rem, 2.5vw, 1.65rem);
  margin-top: 0.35em;
  line-height: 1.35;
}

body.aws-prod-page .aws-prod-hero--erp .aws-prod-hero__lead {
  font-size: clamp(0.98rem, 1.5vw, 1.08rem);
  line-height: 1.6;
  margin-bottom: 14px;
}

body.aws-prod-page .aws-prod-hero--erp .aws-prod-hero__badges {
  margin-bottom: 12px;
}

body.aws-prod-page .aws-prod-hero--erp .aws-prod-hero__usp {
  padding: 14px 18px;
  margin-bottom: 18px;
}

body.aws-prod-page .aws-prod-hero--erp .aws-prod-hero__visual {
  min-height: 0;
  max-height: min(54vh, 500px);
}

body.aws-prod-page .aws-prod-hero--erp .aws-shot img {
  width: 100%;
  height: auto;
  max-height: min(54vh, 480px);
  object-fit: cover;
  object-position: top center;
}

@media (max-width: 991px) {
  body.aws-prod-page .aws-prod-hero--erp {
    min-height: 0;
    padding-bottom: 48px;
  }

  body.aws-prod-page .aws-prod-hero--erp .aws-prod-hero__visual {
    max-height: none;
  }

  body.aws-prod-page .aws-prod-hero--erp .aws-shot img {
    max-height: none;
  }
}

.aws-prod-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(32px, 4vw, 56px);
  align-items: center;
}

@media (max-width: 991px) {
  .aws-prod-hero__grid { grid-template-columns: 1fr; }
}

.aws-prod-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.aws-prod-hero__badge {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.8);
}

.aws-prod-hero h1 {
  font-family: var(--aws-font);
  font-size: clamp(2rem, 3.4vw, 2.65rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: #fff;
  margin: 0 0 14px;
}

.aws-prod-hero h1 .aws-prod-hero__title-line {
  display: block;
  margin-top: 0.4em;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.9);
}

/* LMS hero — larger type, fits first fold */
body.aws-prod-page .aws-prod-hero--lms {
  padding: calc(var(--aws-header-h) + 28px) 0 clamp(28px, 4vh, 44px);
  min-height: calc(100dvh - 48px);
  display: flex;
  align-items: center;
}

body.aws-prod-page .aws-prod-hero--lms > .container-fluid {
  width: 100%;
}

body.aws-prod-page .aws-prod-hero--lms .aws-prod-breadcrumb {
  margin-bottom: 10px;
}

body.aws-prod-page .aws-prod-hero--lms h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: 1.15;
  margin-bottom: 12px;
}

body.aws-prod-page .aws-prod-hero--lms h1 .aws-prod-hero__title-line {
  font-size: clamp(1.2rem, 2.5vw, 1.65rem);
  margin-top: 0.35em;
  line-height: 1.35;
}

body.aws-prod-page .aws-prod-hero--lms .aws-prod-hero__lead {
  font-size: clamp(0.98rem, 1.5vw, 1.08rem);
  line-height: 1.6;
  margin-bottom: 14px;
}

body.aws-prod-page .aws-prod-hero--lms .aws-prod-hero__badges {
  margin-bottom: 12px;
}

body.aws-prod-page .aws-prod-hero--lms .aws-prod-hero__usp {
  padding: 14px 18px;
  margin-bottom: 18px;
}

body.aws-prod-page .aws-prod-hero--lms .aws-prod-hero__usp strong {
  font-size: 1.05rem;
}

body.aws-prod-page .aws-prod-hero--lms .aws-prod-hero__usp p {
  font-size: 13px;
  line-height: 1.5;
}

body.aws-prod-page .aws-prod-hero--lms .aws-prod-hero__visual {
  min-height: 0;
  max-height: min(54vh, 500px);
}

body.aws-prod-page .aws-prod-hero--lms .aws-shot img {
  width: 100%;
  height: auto;
  max-height: min(54vh, 480px);
  object-fit: cover;
  object-position: top center;
}

@media (max-width: 991px) {
  body.aws-prod-page .aws-prod-hero--lms {
    min-height: 0;
    padding-bottom: 48px;
  }

  body.aws-prod-page .aws-prod-hero--lms .aws-prod-hero__visual {
    max-height: none;
  }

  body.aws-prod-page .aws-prod-hero--lms .aws-shot img {
    max-height: none;
  }
}

.aws-prod-hero__lead {
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.62);
  margin: 0 0 24px;
  max-width: 540px;
}

.aws-prod-hero__usp {
  margin: 0 0 28px;
  padding: 20px 22px;
  border-radius: 16px;
  border: 1px solid rgba(109, 40, 217, 0.35);
  background: linear-gradient(135deg, rgba(109, 40, 217, 0.2) 0%, rgba(59, 130, 246, 0.12) 100%);
}

.aws-prod-hero__usp strong {
  display: block;
  font-family: var(--aws-font);
  font-size: 1.15rem;
  font-weight: 700;
  color: #c4b5fd;
  margin-bottom: 6px;
}

.aws-prod-hero__usp p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
}

.aws-prod-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.aws-prod-hero__visual {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
  min-height: 320px;
}

.aws-prod-hero__visual .aws-eval-mock {
  min-height: 360px;
  height: 100%;
}

.aws-prod-hero__visual .aws-shot {
  border-radius: 0;
}

/* Video walkthrough slot */
.aws-prod-video {
  padding: clamp(48px, 5vw, 72px) 0;
  background: #0a1020;
  border-block: 1px solid rgba(255, 255, 255, 0.06);
}

.aws-prod-video__inner {
  max-width: 900px;
  margin-inline: auto;
  text-align: center;
}

.aws-prod-video h2 {
  font-family: var(--aws-font);
  font-size: clamp(1.4rem, 2.6vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 8px;
}

.aws-prod-video p {
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 15px;
}

.aws-prod-video__slot {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.aws-prod-video__slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.aws-prod-video__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: rgba(6, 11, 24, 0.5);
}

.aws-prod-video__overlay span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.aws-prod-video__play {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  color: #fff;
  font-size: 22px;
  cursor: default;
  box-shadow: 0 8px 32px rgba(249, 115, 22, 0.4);
}

/* Feature sections */
.aws-prod-section {
  padding: clamp(56px, 6vw, 88px) 0;
  background: var(--aws-bg);
}

.aws-prod-section--alt {
  background: #0a1020;
  border-block: 1px solid rgba(255, 255, 255, 0.05);
}

.aws-prod-section__head {
  max-width: 720px;
  margin-bottom: clamp(32px, 4vw, 48px);
}

.aws-prod-section__head--center {
  text-align: center;
  margin-inline: auto;
}

.aws-prod-section h2 {
  font-family: var(--aws-font);
  font-size: clamp(1.45rem, 2.6vw, 1.9rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.aws-prod-section__lead {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.58);
}

.aws-prod-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
}

.aws-prod-block--reverse .aws-prod-block__media { order: 2; }
.aws-prod-block--reverse .aws-prod-block__copy { order: 1; }

@media (max-width: 991px) {
  .aws-prod-block { grid-template-columns: 1fr; }
  .aws-prod-block--reverse .aws-prod-block__media,
  .aws-prod-block--reverse .aws-prod-block__copy { order: unset; }
}

.aws-prod-block__copy h3 {
  font-family: var(--aws-font);
  font-size: 1.15rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 12px;
}

.aws-prod-block__copy p {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
}

.aws-prod-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.aws-prod-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 8px 0;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
}

.aws-prod-list li i {
  color: #22c55e;
  margin-top: 3px;
  flex-shrink: 0;
}

.aws-prod-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 991px) {
  .aws-prod-cards { grid-template-columns: 1fr; }
}

.aws-prod-card {
  padding: 24px 20px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.aws-prod-card i {
  font-size: 24px;
  color: #60a5fa;
  margin-bottom: 12px;
}

.aws-prod-card--osm i { color: #34d399; }

.aws-prod-card--erp i { color: #a78bfa; }

.aws-shot--erp .aws-shot__glow {
  background: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.35), transparent 70%);
}

.aws-prod-card strong {
  display: block;
  font-size: 15px;
  color: #fff;
  margin-bottom: 6px;
}

.aws-prod-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.52);
}

.aws-prod-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.aws-prod-pill {
  font-size: 11px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(109, 40, 217, 0.15);
  border: 1px solid rgba(167, 139, 250, 0.3);
  color: #c4b5fd;
}

/* FAQ */
.aws-prod-faq {
  max-width: 760px;
  margin-inline: auto;
}

.aws-prod-faq details {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  margin-bottom: 10px;
  overflow: hidden;
}

.aws-prod-faq summary {
  padding: 16px 20px;
  font-weight: 600;
  font-size: 15px;
  color: #fff;
  cursor: pointer;
  list-style: none;
}

.aws-prod-faq summary::-webkit-details-marker { display: none; }

.aws-prod-faq summary::after {
  content: "+";
  float: right;
  color: #60a5fa;
  font-weight: 400;
}

.aws-prod-faq details[open] summary::after { content: "−"; }

.aws-prod-faq details p {
  margin: 0;
  padding: 0 20px 16px;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.58);
}

/* Trust band */
.aws-prod-trust {
  padding: clamp(40px, 5vw, 56px) 0;
  text-align: center;
  background: var(--aws-bg);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.aws-prod-trust p {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #60a5fa;
}

.aws-prod-trust h3 {
  font-family: var(--aws-font);
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
  margin: 0;
}

/* CTA band */
.aws-prod-cta {
  padding: clamp(56px, 6vw, 80px) 0;
  background: linear-gradient(180deg, #0a1020 0%, #060b18 100%);
}

.aws-prod-cta__inner {
  text-align: center;
  max-width: 560px;
  margin-inline: auto;
}

.aws-prod-cta__inner h2 {
  font-family: var(--aws-font);
  font-size: clamp(1.4rem, 2.6vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #fff;
  margin: 0 0 12px;
}

.aws-prod-cta__inner p {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.65;
}

.aws-prod-related {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 20px;
}

.aws-prod-related a {
  font-size: 13px;
  font-weight: 600;
  color: #93c5fd;
}

/* Products hub cards */
.aws-product-hub {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 991px) {
  .aws-product-hub { grid-template-columns: 1fr; }
}

.aws-product-hub__card {
  position: relative;
  padding: 32px 28px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  text-align: center;
}

.aws-product-hub__card i {
  font-size: 36px;
  color: #60a5fa;
  margin-bottom: 16px;
}

.aws-product-hub__card:nth-child(2) i { color: #34d399; }
.aws-product-hub__card:nth-child(3) i { color: #a78bfa; }

.aws-product-hub__card h2 {
  font-family: var(--aws-font);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px;
}

.aws-product-hub__card p {
  margin: 0 0 24px;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.58);
}

.aws-product-hub__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}

.aws-product-hub__badge--live {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.aws-product-hub__badge--soon {
  background: rgba(167, 139, 250, 0.15);
  color: #c4b5fd;
  border: 1px solid rgba(167, 139, 250, 0.3);
}
