/* Product page styles.
   Uses the same variables, header, buttons, typography, and footer from css/styles.css. */

.product-page h2,
.product-page h3,
.product-page p {
  margin-top: 0;
}

.product-hero {
  min-height: 680px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  color: var(--white);
}

.product-hero-background {
  position: absolute;
  inset: 0;
  background-image: url('/assets/images/hero/dock-sentinel-hero.jpg');
  background-size: cover;
  background-position: center;
}

.product-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3,10,17,.91) 0%, rgba(3,10,17,.72) 44%, rgba(3,10,17,.18) 78%),
    linear-gradient(180deg, rgba(3,10,17,.1), rgba(3,10,17,.42));
}

.product-hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, .72fr);
  align-items: center;
  gap: 54px;
  padding-top: 118px;
  padding-bottom: 62px;
}

.product-hero-copy {
  max-width: 760px;
}

.product-hero h1 {
  margin: 16px 0 24px;
  max-width: 760px;
  font-size: clamp(52px, 6vw, 84px);
  line-height: .94;
  letter-spacing: -.04em;
  text-transform: uppercase;
}

.product-hero-lead {
  max-width: 710px;
  margin-bottom: 14px;
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.42;
}

.product-hero-detail {
  max-width: 690px;
  margin-bottom: 30px;
  color: #d4dde3;
  font-size: 16px;
  line-height: 1.65;
}

.product-hero-device {
  display: flex;
  justify-content: center;
  align-items: center;
}

.product-hero-device img {
  width: min(100%, 430px);
  max-height: 485px;
  object-fit: contain;
  filter: drop-shadow(0 25px 45px rgba(0,0,0,.45));
}

.product-label {
  margin-bottom: 10px;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.product-section-heading {
  max-width: 800px;
  margin: 0 auto 38px;
  text-align: center;
}

.product-section-heading h2,
.product-intro h2,
.product-alert h2,
.product-remote h2,
.product-technical h2 {
  margin-bottom: 16px;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.06;
  letter-spacing: -.035em;
}

.product-section-heading > p:last-child {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.product-intro {
  padding: 82px 0;
  background: #fff;
}

.product-intro-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 72px;
  align-items: start;
}

.product-body-copy p {
  margin-bottom: 18px;
  color: #4f5b65;
  font-size: 18px;
  line-height: 1.72;
}

.product-features {
  padding: 82px 0;
  background: #f3f5f6;
}

.product-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.product-feature-grid article {
  min-height: 220px;
  padding: 28px;
  background: #fff;
  border: 1px solid #dce3e7;
  border-top: 4px solid var(--red);
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(7,21,33,.07);
}

.product-feature-grid article > span {
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .18em;
}

.product-feature-grid h3 {
  margin: 14px 0 10px;
  font-size: 21px;
}

.product-feature-grid p {
  color: #56626c;
  line-height: 1.62;
}

.product-status {
  padding: 84px 0;
  background: #fff;
}

.product-status-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-status-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid #dce3e7;
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(7,21,33,.08);
}

.product-status-card img {
  width: 100%;
  height: 280px;
  padding: 20px;
  object-fit: contain;
  background: #f5f7f8;
}

.product-status-card > div {
  padding: 24px;
  border-top: 5px solid;
}

.product-status-card h3 {
  margin-bottom: 9px;
  font-size: 25px;
}

.product-status-card p {
  margin-bottom: 0;
  color: #56626c;
  line-height: 1.62;
}

.product-status-card.safe > div { border-color: #35bf67; }
.product-status-card.safe h3 { color: #269b4e; }
.product-status-card.caution > div { border-color: #f0a632; }
.product-status-card.caution h3 { color: #c67a12; }
.product-status-card.danger > div { border-color: var(--red); }
.product-status-card.danger h3 { color: var(--red); }

.product-alert {
  padding: 84px 0;
  color: #fff;
  background: radial-gradient(circle at 20% 15%, #18364a 0%, #091b28 45%, #050e15 100%);
}

.product-alert-layout {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 68px;
  align-items: center;
}

.product-alert-device {
  padding: 24px;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 18px;
}

.product-alert-device img {
  width: 100%;
  max-height: 480px;
  object-fit: contain;
}

.product-alert h2 {
  color: #fff;
}

.product-alert-layout > div:last-child > p:not(.eyebrow) {
  color: #d4dde3;
  font-size: 17px;
  line-height: 1.7;
}

.product-alert-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.product-alert-list li {
  position: relative;
  min-height: 50px;
  padding: 15px 14px 14px 42px;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 9px;
}

.product-alert-list li::before {
  content: "!";
  position: absolute;
  top: 14px;
  left: 14px;
  width: 18px;
  height: 18px;
  color: #fff;
  background: var(--red);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 900;
  line-height: 18px;
  text-align: center;
}

.product-remote {
  padding: 90px 0;
  background: #fff;
}

.product-remote-layout {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 60px;
  align-items: center;
}

.product-remote-layout > div:first-child > p:not(.product-label) {
  color: #53606a;
  font-size: 17px;
  line-height: 1.68;
}

.product-check-list {
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.product-check-list li {
  position: relative;
  padding: 10px 0 10px 30px;
  color: #35424c;
}

.product-check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 900;
}

.product-ui-stack {
  position: relative;
  min-height: 410px;
  display: flex;
  align-items: center;
}

.product-dashboard {
  width: 92%;
  margin-left: auto;
  border-radius: 13px;
  box-shadow: 0 22px 55px rgba(7,21,33,.2);
}

.product-phone {
  position: absolute;
  right: -1%;
  bottom: -2%;
  width: 24%;
  filter: drop-shadow(0 18px 28px rgba(0,0,0,.25));
}

.product-applications {
  padding: 84px 0;
  background: #f3f5f6;
}

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

.product-application-grid article {
  padding: 28px;
  background: #fff;
  border-top: 4px solid var(--red);
  border-radius: 13px;
  box-shadow: 0 12px 30px rgba(7,21,33,.07);
}

.product-application-grid h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.product-application-grid p {
  margin-bottom: 0;
  color: #56626c;
  line-height: 1.62;
}

.product-process-section {
  padding: 88px 0;
  color: #fff;
  background: #071521;
}

.product-section-heading-light h2 {
  color: #fff;
}

.product-section-heading-light > p:last-child {
  color: #c5d0d6;
}

.product-process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.product-process-grid article {
  min-height: 205px;
  padding: 25px 20px;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px;
}

.product-process-grid article > span {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  background: var(--red);
  border-radius: 50%;
  font-weight: 900;
}

.product-process-grid h3 {
  margin: 17px 0 8px;
  font-size: 20px;
}

.product-process-grid p {
  margin-bottom: 0;
  color: #c6d0d6;
  font-size: 14px;
  line-height: 1.55;
}

.product-video-placeholder {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-top: 34px;
  padding: 26px;
  background: rgba(255,255,255,.035);
  border: 1px dashed rgba(255,255,255,.35);
  border-radius: 13px;
}

.product-play {
  display: inline-flex;
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  align-items: center;
  justify-content: center;
  padding-left: 4px;
  background: var(--red);
  border-radius: 50%;
}

.product-video-placeholder strong {
  font-size: 18px;
}

.product-video-placeholder p {
  margin: 5px 0 0;
  color: #c6d0d6;
}

.product-technical {
  padding: 86px 0;
  background: #fff;
}

.product-technical-layout {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 68px;
  align-items: start;
}

.product-technical-layout > div:first-child > p:not(.product-label) {
  color: #53606a;
  line-height: 1.66;
}

.product-spec-table {
  overflow: hidden;
  background: #fff;
  border: 1px solid #dce3e7;
  border-radius: 13px;
  box-shadow: 0 14px 38px rgba(7,21,33,.07);
}

.product-spec-table > div {
  display: grid;
  grid-template-columns: 205px 1fr;
  gap: 26px;
  padding: 18px 22px;
  border-bottom: 1px solid #e1e6e9;
}

.product-spec-table > div:last-child {
  border-bottom: 0;
}

.product-spec-table span {
  color: #56626c;
}

.product-faq {
  padding: 84px 0;
  background: #f3f5f6;
}

.product-faq-list {
  max-width: 960px;
  margin: 0 auto;
}

.product-faq-list details {
  margin-bottom: 14px;
  padding: 0 22px;
  background: #fff;
  border: 1px solid #dde4e8;
  border-radius: 11px;
  box-shadow: 0 8px 24px rgba(7,21,33,.045);
}

.product-faq-list summary {
  position: relative;
  padding: 21px 36px 21px 0;
  cursor: pointer;
  list-style: none;
  font-size: 18px;
  font-weight: 800;
}

.product-faq-list summary::-webkit-details-marker {
  display: none;
}

.product-faq-list summary::after {
  content: "+";
  position: absolute;
  top: 15px;
  right: 0;
  color: var(--red);
  font-size: 29px;
}

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

.product-faq-list details p {
  padding-bottom: 21px;
  margin-bottom: 0;
  color: #53606a;
  line-height: 1.65;
}

.product-cta {
  padding: 60px 0;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(3,10,17,.91), rgba(3,10,17,.62)),
    url('/assets/images/hero/dock-sentinel-hero.jpg') center 62% / cover no-repeat;
}

.product-cta-box {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
}

.product-cta h2 {
  margin: 8px 0 10px;
  color: #fff;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.04;
}

.product-cta p:last-child {
  margin-bottom: 0;
  color: #d3dde3;
}

.product-cta .button {
  flex: 0 0 auto;
}

.product-disclaimer {
  padding: 24px 0;
  color: #aeb9c1;
  background: #050e15;
  font-size: 12px;
  line-height: 1.55;
}

.product-disclaimer p {
  margin-bottom: 0;
}

@media (max-width: 1080px) {
  .product-feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

@media (max-width: 850px) {
  .product-hero {
    min-height: auto;
  }

  .product-hero-layout,
  .product-intro-grid,
  .product-alert-layout,
  .product-remote-layout,
  .product-technical-layout {
    grid-template-columns: 1fr;
  }

  .product-hero-layout {
    gap: 28px;
    padding-top: 110px;
    padding-bottom: 48px;
  }

  .product-hero-device img {
    max-height: 350px;
  }

  .product-intro-grid,
  .product-alert-layout,
  .product-remote-layout,
  .product-technical-layout {
    gap: 34px;
  }

  .product-status-grid {
    grid-template-columns: 1fr;
  }

  .product-status-card {
    display: grid;
    grid-template-columns: minmax(220px, .7fr) 1.3fr;
  }

  .product-status-card img {
    height: 100%;
    min-height: 250px;
  }

  .product-status-card > div {
    border-top: 0;
    border-left: 5px solid;
  }

  .product-ui-stack {
    min-height: 315px;
  }

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

  .product-cta-box {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .product-hero-background {
    background-position: 62% center;
  }

  .product-hero-overlay {
    background: linear-gradient(90deg, rgba(3,10,17,.93), rgba(3,10,17,.55));
  }

  .product-hero h1 {
    font-size: 47px;
  }

  .product-feature-grid,
  .product-application-grid,
  .product-process-grid,
  .product-alert-list {
    grid-template-columns: 1fr;
  }

  .product-feature-grid article {
    min-height: auto;
  }

  .product-status-card {
    display: block;
  }

  .product-status-card img {
    height: 260px;
  }

  .product-status-card > div {
    border-top: 5px solid;
    border-left: 0;
  }

  .product-ui-stack {
    min-height: 235px;
  }

  .product-phone {
    width: 28%;
  }

  .product-spec-table > div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .product-video-placeholder {
    align-items: flex-start;
  }
}
