/* ltx-product-page.css
   Shared styles for product landing pages: /p/desktop, /p/studio, /p/model, /p/api
   ------------------------------------------------------------------ */

/* ── Page background + shared horizontal padding ─────────────────── */
.ltx-pp__hero,
.ltx-pp__quick-links,
.ltx-pp__section,
.ltx-pp__support {
  background-color: #0B0B0B;
  color: #ffffff;
}

/* ── Hero heading ─────────────────────────────────────────────────── */
.ltx-pp__hero-heading {
  /* font: Tier 1 H1 — ltx-global.css */
  color: #ffffff;
  margin: 16px 0 0;
  padding-left: 8px;
}

.ltx-pp__hero-subtitle {
  color: #D1D3DB;
  font-size: clamp(1rem, 0.5vw + 0.875rem, 1.2rem);
  font-weight: 400;
  margin: 8px 0 0;
  line-height: 1.5;
  padding-left: 8px;
}

/* ── Search bar: embedded in hero left column ─────────────────────── */
.ltx-pp__hero-search {
  margin-top: 40px;
  width: 100%;
  margin-left: 0 !important;
  padding-left: 0 !important;
  position: relative !important;
}

/* ── Popular suggestions below the search bar ─────────────────────── */
.ltx-pp__hero-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

/* ltx-pp__hero-suggestion: layout only — styles from ltx-pp__btn */
.ltx-pp__hero-suggestion {
  white-space: normal;
  text-transform: none;
}

/* Taller input + icon alignment for the hero search */
.ltx-pp__hero-search,
.ltx-pp__hero-search .lt-search-wrap,
.ltx-pp__hero-search form {
  height: 56px !important;
  min-height: 56px !important;
  overflow: visible !important;
}

.ltx-pp__hero-search input[type="search"],
.ltx-pp__hero-search input[type="text"] {
  height: 56px !important;
  min-height: 56px !important;
  line-height: 56px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  box-sizing: border-box !important;
  background-color: #F7F8FC !important;
  color: #191A1F !important;
  border-radius: 40px !important;
  border: none !important;
}

.ltx-pp__hero-search input[type="search"]::-webkit-input-placeholder,
.ltx-pp__hero-search input[type="text"]::-webkit-input-placeholder {
  color: rgb(134, 142, 165) !important;
  opacity: 1 !important;
}

.ltx-pp__hero-search input[type="search"]::placeholder,
.ltx-pp__hero-search input[type="text"]::placeholder {
  color: rgb(134, 142, 165) !important;
  opacity: 1 !important;
}

.ltx-pp__hero-search > svg:first-child,
.ltx-pp__hero-search svg.lt-search-icon,
.ltx-pp__hero-search form svg,
.ltx-pp__hero-search .lt-search-wrap svg {
  top: 50% !important;
  transform: translateY(-50%) !important;
  margin-top: 0 !important;
  position: absolute !important;
  width: 20px !important;
  height: 20px !important;
  color: rgb(134, 142, 165) !important;
  stroke: rgb(134, 142, 165) !important;
}

.ltx-pp__hero-search form,
.ltx-pp__hero-search .lt-search-wrap {
  position: relative !important;
}

/* ── Hero video ───────────────────────────────────────────────────── */
.ltx-pp__hero-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: #111;
}

.ltx-pp__hero-video iframe {
  position: absolute;
  top: -60px;
  left: -1px;
  width: calc(100% + 2px);
  height: calc(100% + 120px);
  border: none;
  pointer-events: none;
}

/* Allow interaction on Vimeo player iframes (needed for SDK mute control) */
.ltx-pp__hero-video-player {
  pointer-events: auto;
}

/* ── Video control buttons (mute + videos link) ───────────────────── */
.ltx-pp__hero-video-controls {
  position: absolute;
  bottom: 12px;
  left: 12px;
  z-index: 10;
  display: flex;
  gap: 8px;
}

.ltx-pp__hero-mute-btn,
.ltx-pp__hero-videos-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
}

.ltx-pp__hero-mute-btn:hover,
.ltx-pp__hero-videos-btn:hover {
  background: rgba(0, 0, 0, 0.65);
  border-color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
}

.ltx-pp__hero-mute-btn svg,
.ltx-pp__hero-videos-btn svg {
  width: 16px;
  height: 16px;
  display: block;
  flex-shrink: 0;
}

/* Videos button icon swap on hover */
.ltx-pp__hero-videos-btn .ltx-pp__videos-arrow-icon { display: none; }
.ltx-pp__hero-videos-btn:hover .ltx-pp__videos-icon { display: none; }
.ltx-pp__hero-videos-btn:hover .ltx-pp__videos-arrow-icon { display: block; }

.ltx-pp__hero-video-thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease;
  z-index: 1;
}
.ltx-pp__hero-video-thumb.is-hidden {
  opacity: 0;
  pointer-events: none;
}
.ltx-pp__hero-video-iframe {
  z-index: 2;
}

.ltx-pp__hero-video--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  border: 1px dashed #353434;
}

.ltx-pp__hero-video--placeholder span {
  font-family: 'Aeonik', sans-serif;
  font-size: 13px;
  color: #6B6F7A;
  text-align: center;
  padding: 24px;
}


/* ── Hero ─────────────────────────────────────────────────────────── */
.ltx-pp__hero {
  background-color: #0B0B0B;
  padding-top: 80px;
  padding-bottom: 100px;
}

/* Two-column hero layout */
.ltx-pp__hero-content {
  display: flex;
  align-items: center;
  gap: 80px;
}

/* Split layout: vertically centre both columns + loosen heading line-height */
.ltx-pp__hero--split .ltx-pp__hero-heading {
  line-height: 1.25;
  padding-left: 0;
  margin: 0;
}

.ltx-pp__hero-left {
  flex: 1 1 50%;
  min-width: 0;
}

.ltx-pp__hero-right {
  flex: 1 1 50%;
  min-width: 0;
}

/* Split layout (homepage): no top margin on search, no subtitle gap */
.ltx-pp__hero--split .ltx-pp__hero-search {
  margin-top: 0;
}

.ltx-pp__hero--split .ltx-pp__hero-suggestions {
  margin-top: 24px;
}

.ltx-pp__hero-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0 0 8px;
}

.ltx-pp__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  object-fit: cover;
}

/* ── Quick Links ──────────────────────────────────────────────────── */
.ltx-pp__quick-links {
  padding-top: 0;
  padding-bottom: 56px;
}

.ltx-pp__quick-links-inner {
  border-top: 1px solid #353434;
  padding: 20px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}

/* Fixed eyebrow width so buttons align across all rows */
.ltx-pp__quick-links-inner .ltx-pp__eyebrow {
  min-width: 220px;
}
.ltx-pp__quick-links-inner:last-child {
  border-bottom: 1px solid #353434;
}

.ltx-pp__quick-links-label {
  font-family: 'Aeonik', sans-serif;
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #D1D3DB;
  margin: 0;
  white-space: nowrap;
}

.ltx-pp__quick-links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ltx-pp__quick-links-note {
  font-family: 'Aeonik', sans-serif;
  font-size: 13px;
  color: #888;
  margin: -4px 0 0;
  width: 100%;
  padding-left: calc(220px + 24px);
}

@media (max-width: 767px) {
  .ltx-pp__quick-links-note {
    padding-left: 0;
  }
}

.ltx-pp__quick-links-note a {
  color: #aaa;
  text-decoration: underline;
}

.ltx-pp__quick-links-note a:hover {
  color: #ffffff;
}


.ltx-pp__quick-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: #191A1F;
  border: 1px solid #353434;
  border-radius: 20px;
  font-family: 'Aeonik', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #D1D3DB;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.ltx-pp__quick-link:hover {
  background: #252830;
  border-color: #4a4a4a;
  color: #ffffff;
  text-decoration: none;
}

.ltx-pp__quick-link svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  opacity: 0.6;
}

/* ── Section shared ───────────────────────────────────────────────── */
.ltx-pp__section {
  padding-top: clamp(32px, 4vw, 56px);
  padding-bottom: clamp(32px, 4vw, 56px);
}

.ltx-pp__section-heading {
  /* font: Tier 1 H2 — ltx-global.css */
  color: #ffffff;
  margin: 0 0 40px;
}

/* Tighter gap under heading when followed by the videos meta row */
#homepage-videos .ltx-pp__section-heading {
  margin-bottom: 4px;
}

/* When inside a section-header flex row, override the bottom margin */
.ltx-pp__section-header .ltx-pp__section-heading {
  margin-bottom: 0;
}

/* Gap between eyebrow label and a following section heading */
.ltx-pp__eyebrow + .ltx-pp__section-heading {
  margin-top: 20px;
}

.ltx-pp__section-description {
  font-family: 'Aeonik', sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: 0.5px;
  color: #FDFDFE;
  margin: -20px 0 32px;
}

/* ── Shared CTA button style ──────────────────────────────────────── */
/* Miriam Libre pill button. No icon/min-width — wraps to text.       */
.ltx-pp__btn {
  display: inline-block;
  font-family: 'Aeonik', sans-serif;
  font-size: 16px;
  line-height: 1;
  font-weight: 400;
  letter-spacing: 0.02rem;
  color: #ffffff;
  text-decoration: none;
  padding: calc(.8rem - 1px) calc(1.8rem - 1px) calc(.8rem - 1px) calc(2rem - 1px);
  border: 1px solid #636367;
  border-radius: 8px;
  background: transparent;
  white-space: nowrap;
  transition: all .35s cubic-bezier(.165,.84,.44,1);
}

.ltx-pp__btn:hover,
.ltx-pp__btn:focus,
.ltx-pp__btn:active {
  color: #ffffff;
  text-decoration: none;
  border-color: #ffffff;
  transform: translateY(-2px);
}

/* ── Inverse (white fill) button variant — must come after base hover ── */
.ltx-pp__btn--inverse {
  background: #ffffff;
  color: #0B0B0B;
  border-color: #ffffff;
}

.ltx-pp__btn.ltx-pp__btn--inverse:hover,
.ltx-pp__btn.ltx-pp__btn--inverse:focus,
.ltx-pp__btn.ltx-pp__btn--inverse:active {
  background: #ffffff;
  color: #0B0B0B;
  border-color: #ffffff;
  transform: translateY(-2px);
}

/* ── Video card category pill ─────────────────────────────────────────── */

.ltx-vp__card-pill {
  position: absolute;
  top: 12px;
  right: 12px;
  font-family: 'Aeonik', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 3px 10px;
  border-radius: 20px;
  pointer-events: none;
  z-index: 3;
  transition: opacity 0.25s ease;
}


/* All pills — consistent grey */
.ltx-vp__card-pill[data-pill="Model"],
.ltx-vp__card-pill[data-pill="LTX Studio"],
.ltx-vp__card-pill[data-pill="AI Video Example"] {
  background: rgba(30, 30, 35, 0.75);
  border-color: rgba(255, 255, 255, 0.2);
  color: #D1D3DB;
}

/* ── CTA button with sliding arrow ───────────────────────────────── */
/* Two overlapping arrows: -a slides out right, -b slides in.        */
.ltx-pp__btn--arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
}

.ltx-pp__btn-platform-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  display: block;
}

.ltx-pp__btn--arrow .ltx-pp__btn-arrow-wrap {
  position: relative;
  width: 1.1em;
  height: 1em;
  overflow: hidden;
  flex-shrink: 0;
}

.ltx-pp__btn--arrow .ltx-pp__btn-arrow-wrap svg {
  width: 0.8em;
  height: 0.8em;
  fill: currentColor;
  display: block;
}

.ltx-pp__btn--arrow .ltx-pp__btn-arrow-a,
.ltx-pp__btn--arrow .ltx-pp__btn-arrow-b {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s ease;
}

.ltx-pp__btn--arrow .ltx-pp__btn-arrow-b {
  transform: translateX(-100%);
}

.ltx-pp__btn--arrow:hover .ltx-pp__btn-arrow-a,
.ltx-pp__btn--arrow:focus .ltx-pp__btn-arrow-a {
  transform: translateX(100%);
}

.ltx-pp__btn--arrow:hover .ltx-pp__btn-arrow-b,
.ltx-pp__btn--arrow:focus .ltx-pp__btn-arrow-b {
  transform: translateX(0);
}

/* ── CTA button with diagonal sliding arrow (↗) ─────────────────── */
/* Slides in from bottom-left, out to top-right.                     */
.ltx-pp__btn--arrow-diagonal .ltx-pp__btn-arrow-a,
.ltx-pp__btn--arrow-diagonal .ltx-pp__btn-arrow-b {
  transition: transform 0.5s ease;
}

.ltx-pp__btn--arrow-diagonal .ltx-pp__btn-arrow-b {
  transform: translate(-120%, 120%);
}

.ltx-pp__btn--arrow-diagonal:hover .ltx-pp__btn-arrow-a,
.ltx-pp__btn--arrow-diagonal:focus .ltx-pp__btn-arrow-a {
  transform: translate(120%, -120%);
}

.ltx-pp__btn--arrow-diagonal:hover .ltx-pp__btn-arrow-b,
.ltx-pp__btn--arrow-diagonal:focus .ltx-pp__btn-arrow-b {
  transform: translate(0, 0);
}

/* ── Eyebrow label (// LABEL style from main site) ───────────────── */
.ltx-pp__eyebrow {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #999999;
  font-family: 'Aeonik', sans-serif;
  font-size: clamp(0.8rem, 1.5vw, 0.9rem);
  font-weight: 300;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
}

.ltx-pp__eyebrow__slashes {
  letter-spacing: 4px;
}

.ltx-pp__eyebrow__text {
  letter-spacing: 4px;
  text-transform: uppercase;
}

/* ── Secondary navigation button (hero suggestions) ──────────────── */
/* Aeonik, grey — same bump-up hover, clearly secondary to CTA.      */
.ltx-pp__btn-secondary {
  display: inline-block;
  font-family: 'Aeonik', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #D1D3DB;
  text-decoration: none;
  padding: 5px 16px;
  border: 1px solid #353434;
  border-radius: 100px;
  letter-spacing: 0.06em;
  white-space: normal;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.ltx-pp__btn-secondary:hover,
.ltx-pp__btn-secondary:focus,
.ltx-pp__btn-secondary:active {
  color: #ffffff;
  border-color: #6B6F7A;
  text-decoration: none;
}

/* ── Section header row (heading + optional CTA) ─────────────────── */
.ltx-pp__section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.ltx-pp__section-header .ltx-pp__section-heading {
  margin-bottom: 0;
}

/* Videos section meta: description + "All videos" button on same row, button bottom-aligned */
.ltx-pp__videos-section-meta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.ltx-pp__videos-section-meta .ltx-pp__section-description {
  margin: 0;
  flex: 1;
}

/* ltx-pp__all-videos-btn: layout only — styles from ltx-pp__btn--arrow */

/* ── Topics grid ──────────────────────────────────────────────────── */
.ltx-pp__topics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ltx-pp__topic-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  background: #191A1F;
  border: 1px solid #353434;
  border-radius: 16px;
  text-decoration: none;
  color: #ffffff;
  font-family: 'Aeonik', sans-serif;
  font-size: 15px;
  font-weight: 400;
  transition: background 0.2s ease, border-color 0.2s ease;
  position: relative;
}

.ltx-pp__topic-card:hover {
  background: rgba(255,255,255,0.05);
  border-color: #4a4a4a;
  color: #ffffff;
  text-decoration: none;
}

.ltx-pp__topic-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #252830;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ltx-pp__topic-icon svg {
  width: 18px;
  height: 18px;
  stroke: #D1D3DB;
  fill: none;
  stroke-width: 1.5;
}

.ltx-pp__topic-arrow {
  margin-left: auto;
  font-size: 16px;
  color: #6B6F7A;
  transition: transform 0.2s ease, color 0.2s ease;
}

.ltx-pp__topic-card:hover .ltx-pp__topic-arrow {
  transform: translateX(3px);
  color: #D1D3DB;
}

/* ── FAQ two-column layout ────────────────────────────────────────── */
.ltx-pp__faq-layout {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 48px;
  align-items: start;
}

.ltx-pp__faq-title {
  margin: 0;
  position: sticky;
  top: 80px;
}

/* ── FAQ accordion ────────────────────────────────────────────────── */
.ltx-pp__faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ltx-pp__faq-details {
  border-bottom: 1px solid #353434;
  position: relative;
}

.ltx-pp__faq-details:first-child {
  border-top: 1px solid #353434;
}

/* Slide-in white line on hover — top border */
.ltx-pp__faq-details::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 0.5px;
  background: #f9f9f9;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.7s cubic-bezier(.165,.84,.44,1);
}

.ltx-pp__faq-details:hover::before {
  transform: scaleX(1);
}

.ltx-pp__faq-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.ltx-pp__faq-summary::-webkit-details-marker {
  display: none;
}

.ltx-pp__faq-question {
  font-family: 'Aeonik', sans-serif;
  font-size: clamp(16px, 1vw + 14px, 20px);
  font-weight: 400;
  letter-spacing: 0.5px;
  color: #F7F8FC;
  margin: 0;
  line-height: 1.3;
}

.ltx-pp__faq-chevron {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  stroke: #D1D3DB;
  fill: none;
  stroke-width: 1.5;
  transition: transform 0.3s ease, stroke 0.2s ease;
}

.ltx-pp__faq-summary:hover .ltx-pp__faq-chevron,
.ltx-pp__faq-summary:focus .ltx-pp__faq-chevron {
  stroke: #ffffff;
}

.ltx-pp__faq-details[open] .ltx-pp__faq-chevron {
  transform: rotate(180deg);
  stroke: #F7F8FC;
}

.ltx-pp__faq-body {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease;
}

.ltx-pp__faq-content {
  padding: 0 0 24px;
  font-weight: 400;
  letter-spacing: 1px;
  color: #D1D3DB;
  max-width: 680px;
}

.ltx-pp__faq-content a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ltx-pp__faq-content a:hover {
  color: #D1D3DB;
}

/* ── Made with LTX carousel ───────────────────────────────────────── */
.ltx-pp__videos-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ── Combined video grid (homepage) — merges multiple grids into one ──── */

.ltx-pp__videos-combined {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}

.ltx-pp__videos-grid--combined {
  display: contents;
}

/* Reuse existing .ltx-vp__card styles — just place cards in our grid */
.ltx-pp__videos-grid .ltx-vp__card {
  width: 100%;
}


/* ── Homepage product cards ───────────────────────────────────────── */
.ltx-hp__products-section {
  padding-top: clamp(32px, 4vw, 56px);
  padding-bottom: clamp(32px, 4vw, 56px);
}

.ltx-hp__products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.ltx-hp__product-card {
  display: flex;
  flex-direction: column;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: #ffffff;
  aspect-ratio: 3 / 4;
  transition: transform 0.3s ease, filter 0.3s ease, opacity 0.3s ease;
}

.ltx-hp__product-card:hover {
  transform: scale(1.02);
  text-decoration: none;
}

/* On hover of any card, dim + blur the siblings */
.ltx-hp__products:has(.ltx-hp__product-card:hover) .ltx-hp__product-card:not(:hover) {
  filter: blur(3px) brightness(0.85);
  opacity: 0.85;
}

/* Background layer — video or placeholder */
.ltx-hp__product-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

/* Video background */
.ltx-hp__product-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.ltx-hp__product-bg--placeholder {
  background: linear-gradient(160deg, #1a1b22 0%, #0f1018 100%);
}

/* Subtle noise texture on placeholder */
.ltx-hp__product-bg--placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 28px,
    rgba(255, 255, 255, 0.015) 28px,
    rgba(255, 255, 255, 0.015) 29px
  );
}

/* Per-product placeholder tints */
.ltx-hp__product-bg--model   { background: linear-gradient(160deg, #0f1a2e 0%, #07111f 100%); }
.ltx-hp__product-bg--api     { background: linear-gradient(160deg, #0e1a1a 0%, #071210 100%); }
.ltx-hp__product-bg--studio  { background: linear-gradient(160deg, #1a0f2e 0%, #110720 100%); }
.ltx-hp__product-bg--desktop { background: linear-gradient(160deg, #1a1508 0%, #110e04 100%); }

/* Gradient overlay so text always reads */
.ltx-hp__product-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0) 30%,
    rgba(0,0,0,0.55) 65%,
    rgba(0,0,0,0.85) 100%
  );
  z-index: 1;
  border-radius: inherit;
}

/* Text overlay */
.ltx-hp__product-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 24px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ltx-hp__product-label {
  font-family: 'Aeonik', sans-serif;
  font-size: clamp(22px, 2vw + 16px, 30px);
  font-weight: 500;
  color: #ffffff;
  line-height: 1.1;
}

.ltx-hp__product-desc {
  font-family: 'Aeonik', sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.55;
  letter-spacing: 0.2px;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
  transition: color 0.2s ease;
}

.ltx-hp__product-card:hover .ltx-hp__product-desc {
  color: rgba(255, 255, 255, 0.9);
}

/* ── Support widget spacing ───────────────────────────────────────── */
.ltx-pp__support {
  padding-top: clamp(32px, 4vw, 56px);
  padding-bottom: clamp(32px, 4vw, 56px);
}

/* ── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 991px) {
  .ltx-pp__topics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ltx-pp__videos-grid,
  .ltx-pp__videos-combined {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ltx-hp__products {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .ltx-pp__hero {
    padding-top: 40px;
    padding-bottom: 36px;
  }

  .ltx-pp__hero-content {
    flex-direction: column;
    gap: 32px;
  }

  .ltx-pp__hero-left,
  .ltx-pp__hero-right {
    flex: 1 1 100%;
    width: 100%;
  }

  .ltx-pp__hero-logo {
    margin-bottom: 20px;
  }
}

@media (max-width: 767px) {
  .ltx-pp__section {
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .ltx-pp__support {
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .ltx-hp__products {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .ltx-pp__faq-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .ltx-hp__products {
    grid-template-columns: 1fr;
  }

  .ltx-hp__products-section {
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .ltx-pp__topics-grid {
    grid-template-columns: 1fr;
  }

  .ltx-pp__videos-grid,
  .ltx-pp__videos-combined {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ltx-pp__section-heading {
    margin-bottom: 24px;
  }

  /* Mobile video cards — match videos page responsive behaviour */
  .ltx-pp__videos-grid .ltx-vp__card {
    aspect-ratio: auto !important;
    display: flex;
    flex-direction: column;
  }

  .ltx-pp__videos-grid .ltx-vp__thumb-btn {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
    flex-shrink: 0;
    line-height: 0;
    font-size: 0;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
  }

  .ltx-pp__videos-grid .ltx-vp__blur-bar {
    display: none !important;
  }

  .ltx-pp__videos-grid .ltx-vp__card-title {
    position: static !important;
    opacity: 1 !important;
    transform: none !important;
    padding: 14px 16px 16px;
  }

  .ltx-pp__faq-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .ltx-pp__faq-title {
    position: static;
  }
}

/* ── Homepage popular topics ─────────────────────────────────────── */

.ltx-hp__topics-section {
  padding-top: clamp(32px, 4vw, 56px);
  padding-bottom: clamp(32px, 4vw, 56px);
}

.ltx-hp__topics-header {
  margin-bottom: 32px;
}

.ltx-hp__topics-header .ltx-pp__section-heading {
  margin-bottom: 24px;
}

.ltx-hp__topics-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  border-bottom: 1px solid #2e3445;
  padding-bottom: 0;
}

.ltx-hp__topics-filter {
  font-family: 'Aeonik', sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #636367;
  background: transparent;
  border: none;
  border-radius: 6px;
  padding: 5px 20px;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.ltx-hp__topics-filter:hover {
  background: rgba(46, 52, 69, 0.6);
  color: #ffffff;
}

.ltx-hp__topics-filter.is-active {
  background: #f0f0f0;
  color: #000000;
  font-weight: 500;
}

.ltx-hp__topics-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}

.ltx-hp__topic-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 14px;
  padding: 28px 20px;
  background-color: #191A1F;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  border-radius: 12px;
  border: none;
  text-decoration: none;
  color: #ffffff;
  transition: background-color 0.2s ease, transform 0.2s ease;
  text-align: center;
}


.ltx-hp__topic-card:hover {
  background: #252830;
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-4px);
}


.ltx-hp__topic-name {
  font-family: 'Aeonik', sans-serif;
  font-size: clamp(16px, 0.4vw + 14px, 18px);
  font-weight: 400;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.9);
}

.ltx-hp__topic-category {
  font-family: 'Aeonik', sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #868EA5;
}

@media (max-width: 900px) {
  .ltx-hp__topics-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .ltx-hp__topics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .ltx-pp__hero-suggestions {
    justify-content: flex-start;
  }
}

/* ── Homepage alert card ─────────────────────────────────────────── */

.ltx-hp__alert-card {
  margin: 0 0 56px;
}

.ltx-hp__alert-card .lt-container-inner {
  position: relative;
}

.ltx-hp__alert-card-inner {
  border-radius: 16px;
  padding: 28px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
  background: #04040F;
}


/* Canvas aurora sits behind all content */
.ltx-hp__alert-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  pointer-events: none;
}

/* Ensure content sits above the canvas */
.ltx-hp__alert-card-body,
.ltx-hp__alert-card-btn {
  position: relative;
  z-index: 1;
}

.ltx-hp__alert-card-body {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 8px;
  flex: 1;
  flex-wrap: wrap;
}

.ltx-hp__alert-card-title {
  font-family: 'Aeonik', sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: #ffffff;
  margin: 0;
  line-height: 1.3;
}

.ltx-hp__alert-card-message {
  font-family: 'Aeonik', sans-serif;
  font-size: 15px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  line-height: 1.5;
}

.ltx-hp__alert-card-btn {
  font-family: 'Aeonik', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #ffffff;
  text-decoration: none;
  padding: 10px 20px;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  border-radius: 8px;
  white-space: nowrap;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  flex-shrink: 0;
}

.ltx-hp__alert-card-btn:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
}

@media (max-width: 767px) {
  .ltx-hp__alert-card-inner {
    padding: 20px 24px;
    flex-direction: column;
    align-items: center;
  }
  .ltx-hp__alert-card-body {
    justify-content: center;
    text-align: center;
  }
  .ltx-hp__alert-card-title,
  .ltx-hp__alert-card-message {
    text-align: center;
  }
  .ltx-hp__alert-card-btn {
    width: 100%;
    text-align: center;
  }
}


