/* Align the product page with the homepage and solution-page visual system. */
  .product-hero-v2 {
    min-height: 650px;
    padding: 132px 24px 82px;
    background: #1e2a36;
    border-bottom: 0;
  }
  .product-hero-v2::before {
    background-image:
      linear-gradient(rgba(255, 255, 255, 0.10) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255, 255, 255, 0.10) 1px, transparent 1px);
    background-size: 58px 58px;
    opacity: 0.55;
  }
  .product-hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(430px, 520px);
    gap: 64px;
  }
  .product-badge,
  .product-hero-v2 h1,
  .product-hero-lead {
    color: #ffffff;
  }
  .product-badge {
    margin-bottom: 16px;
    letter-spacing: 0;
  }
  .product-badge::before {
    background: #ffffff;
    box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.15);
  }
  .product-hero-v2 h1 {
    font-size: clamp(42px, 4.5vw, 62px);
    line-height: 1.08;
  }
  .product-hero-lead {
    max-width: 650px;
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 17px;
    line-height: 1.72;
  }
  .product-hero-actions {
    margin-top: 26px;
  }
  .product-hero-actions .btn-primary {
    border-color: #ffffff !important;
    background: #ffffff !important;
    color: #1e2a36 !important;
    box-shadow: 0 12px 30px rgba(22, 32, 42, 0.22);
  }
  .product-hero-actions .btn-primary:hover {
    background: #eceeeb !important;
  }
  .product-hero-actions .btn-outline-blue {
    border-color: rgba(255, 255, 255, 0.68);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
  }
  .product-hero-actions .btn-outline-blue:hover {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
  }
  .product-ui-preview {
    border-color: rgba(255, 255, 255, 0.28);
    border-radius: 4px;
    box-shadow: 0 28px 70px rgba(22, 32, 42, 0.32);
  }
  .product-ui-bar {
    background: #1e2a36;
  }

  .product-section {
    padding: 96px 24px;
  }
  .product-section-inner,
  .product-demo-v2 .product-demo-wrap {
    width: min(1180px, calc(100vw - 48px)) !important;
  }
  .product-section-head {
    max-width: 820px;
    margin-bottom: 42px;
  }
  .product-section-head .eyebrow {
    margin-bottom: 12px;
    letter-spacing: 0;
  }
  .product-section-head h2 {
    font-size: clamp(30px, 3vw, 42px);
    line-height: 1.18;
  }
  .product-section-head p:last-child {
    max-width: 760px;
    margin-top: 16px;
    line-height: 1.7;
  }

  .product-metrics-final {
    background: #ffffff;
  }
  .product-metric-detail-grid {
    gap: 22px;
  }
  .product-metric-detail-card,
  .product-framework-card {
    border-radius: 4px;
    background: #ffffff;
    box-shadow: 0 12px 36px rgba(30, 42, 54, 0.07);
  }
  .product-metric-detail-card {
    min-height: 310px;
    padding: 30px;
    border-top: 3px solid #1e2a36;
  }
  .product-metric-detail-card h3,
  .product-framework-card h3 {
    margin-top: 26px;
  }
  .product-metric-detail-card p,
  .product-framework-card p,
  .product-highlight-final-grid p {
    font-size: 14.5px;
    line-height: 1.72;
  }
  .product-capability-list,
  .product-core-capabilities {
    margin-top: 18px;
    padding-top: 16px;
  }

  .product-framework-final {
    background: #f5f6f4;
  }
  .product-framework-grid {
    gap: 22px;
  }
  .product-framework-card {
    min-height: 260px;
    padding: 30px;
    border-top: 3px solid #1e2a36;
  }
  .product-framework-label {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 6px;
    background: #f5f6f4;
    letter-spacing: 0;
  }

  .product-highlights-final {
    background: #ffffff;
  }
  .product-highlight-final-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }
  .product-highlight-final-grid article {
    min-height: 238px;
    padding: 26px;
    border: 1px solid #d3d8dc;
    border-top: 3px solid #1e2a36;
    border-radius: 4px;
    background: #ffffff;
    box-shadow: 0 12px 36px rgba(30, 42, 54, 0.07);
  }
  .product-highlight-final-grid h3 {
    margin-top: 30px;
  }

  .product-demo-section.product-demo-v2 {
    padding: 96px 24px !important;
    background: #f5f6f4 !important;
  }
  .product-demo-v2 .product-demo-wrap {
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr) !important;
    gap: 36px !important;
  }
  .product-demo-media,
  .product-demo-v2 .product-demo-card {
    border-radius: 4px !important;
    box-shadow: 0 12px 36px rgba(30, 42, 54, 0.08) !important;
  }
  .product-demo-media {
    min-height: 0;
  }
  .product-demo-media img {
    min-height: 100%;
    object-position: 72% 50%;
  }
  .product-demo-v2 .product-demo-card {
    padding: 32px !important;
  }

  @media (max-width: 1100px) {
    .product-highlight-final-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }

  @media (max-width: 980px) {
    .product-hero-v2 {
      min-height: 0;
      padding-top: 118px;
    }
    .product-hero-inner {
      grid-template-columns: 1fr;
      gap: 42px;
    }
    .product-ui-preview {
      width: 100%;
      max-width: 680px;
    }
    .product-metric-detail-grid {
      grid-template-columns: 1fr;
    }
    .product-metric-detail-card {
      min-height: 0;
    }
    .product-demo-v2 .product-demo-wrap {
      grid-template-columns: 1fr !important;
    }
    .product-demo-media img {
      min-height: 0;
      aspect-ratio: 16 / 9;
    }
  }

  @media (max-width: 640px) {
    .product-hero-v2 {
      padding: 88px 16px 44px;
    }
    .product-hero-inner,
    .product-section-inner,
    .product-demo-v2 .product-demo-wrap {
      width: 100% !important;
    }
    .product-hero-inner {
      gap: 30px;
    }
    .product-badge {
      margin-bottom: 12px;
      font-size: 11.5px;
    }
    .product-hero-v2 h1,
    body[data-lang="zh"] .product-hero-v2 h1 {
      font-size: 32px;
      line-height: 1.12;
    }
    body[data-lang="en"] .product-hero-v2 h1 {
      font-size: 30px;
    }
    body[data-lang="th"] .product-hero-v2 h1 {
      font-size: 28px;
    }
    .product-hero-lead {
      margin-top: 16px;
      font-size: 14.5px;
      line-height: 1.62;
    }
    .product-hero-actions {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
      margin-top: 20px;
    }
    .product-hero-actions .btn-primary,
    .product-hero-actions .btn-outline-blue {
      width: 100%;
      min-height: 48px;
      padding: 11px 10px;
      justify-content: center;
      text-align: center;
      font-size: 13px;
      line-height: 1.25;
    }
    .product-ui-preview {
      border-radius: 4px;
    }
    .product-ui-bar {
      padding: 11px 12px;
    }
    .product-ui-title {
      font-size: 10px;
      letter-spacing: 0;
    }
    .product-ui-body {
      display: block;
      min-height: 0;
    }
    .product-ui-side {
      display: none;
    }
    .product-ui-main {
      padding: 12px;
    }
    .product-kpi-grid {
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 7px;
      margin-bottom: 10px;
    }
    .product-kpi {
      min-width: 0;
      padding: 10px 8px;
    }
    .product-kpi b {
      font-size: 16px;
    }
    .product-kpi span {
      margin-top: 4px;
      font-size: 9px;
      line-height: 1.25;
    }
    .product-task-list {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 7px;
    }
    .product-task {
      display: block;
      min-width: 0;
      padding: 9px 10px;
    }
    .product-task strong {
      font-size: 11px;
      line-height: 1.25;
    }
    .product-task small {
      display: none;
    }
    .product-task em {
      display: block;
      margin-top: 6px;
      font-size: 9px;
      white-space: normal;
    }

    .product-section,
    .product-demo-section.product-demo-v2 {
      padding: 60px 16px !important;
    }
    .product-section-head {
      margin-bottom: 28px;
    }
    .product-section-head .eyebrow {
      margin-bottom: 8px;
      font-size: 11.5px;
    }
    .product-section-head h2,
    body[data-lang="zh"] .product-section-head h2 {
      font-size: 28px;
      line-height: 1.2;
    }
    body[data-lang="en"] .product-section-head h2,
    body[data-lang="th"] .product-section-head h2 {
      font-size: 26px;
    }
    .product-section-head p:last-child {
      margin-top: 12px;
      font-size: 14px;
      line-height: 1.65;
    }
    .product-metric-detail-grid,
    .product-framework-grid,
    .product-highlight-final-grid {
      grid-template-columns: 1fr;
      gap: 14px;
    }
    .product-metric-detail-card,
    .product-framework-card,
    .product-highlight-final-grid article {
      min-height: 0;
      padding: 22px;
    }
    .product-metric-detail-card h3,
    .product-framework-card h3,
    .product-highlight-final-grid h3 {
      margin-top: 18px;
      font-size: 19px;
    }
    .product-metric-detail-card p,
    .product-framework-card p,
    .product-highlight-final-grid p {
      font-size: 14px;
      line-height: 1.65;
    }
    .product-capability-list,
    .product-core-capabilities {
      margin-top: 15px;
      padding-top: 13px;
    }
    .product-capability-list span,
    .product-core-capabilities span {
      font-size: 12px;
    }
    .product-highlight-final-grid article {
      padding-bottom: 24px;
    }

    .product-demo-v2 .product-demo-wrap {
      gap: 18px !important;
    }
    .product-demo-media img {
      aspect-ratio: 16 / 9;
      object-position: 70% 50%;
    }
    .product-demo-v2 .product-demo-card {
      padding: 22px 18px !important;
    }
    .product-demo-v2 .product-demo-title {
      font-size: 20px !important;
      line-height: 1.35 !important;
    }
    .product-demo-v2 .lead-contact-options {
      display: grid !important;
      grid-template-columns: 1fr !important;
      gap: 9px !important;
    }
    .product-demo-v2 .lead-contact-label {
      text-align: center;
    }
    .product-demo-v2 .lead-contact-link {
      width: 100%;
      min-height: 46px;
      justify-content: center;
    }
    .product-demo-v2 .product-form-row {
      grid-template-columns: 1fr !important;
      gap: 0 !important;
    }
    .product-demo-v2 .product-demo-submit {
      min-height: 50px;
      padding: 12px 14px;
      white-space: normal;
    }
  }

  @media (max-width: 360px) {
    .product-hero-actions {
      grid-template-columns: 1fr;
    }
    .product-hero-v2 h1,
    body[data-lang="zh"] .product-hero-v2 h1 {
      font-size: 29px;
    }
    body[data-lang="en"] .product-hero-v2 h1,
    body[data-lang="th"] .product-hero-v2 h1 {
      font-size: 27px;
    }
  }
