/* ============================================================
   product-detail.css — Product Detail Pages
   ============================================================ */

/* ----- Breadcrumb ----- */
.breadcrumb {
  background: var(--secondary);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 1rem;
}

.breadcrumb-inner {
  max-width: 80rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--brand-blue);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* ----- Product Hero ----- */
.product-hero {
  background: var(--surface-darker);
  padding: 4rem 1rem 3.5rem;
  position: relative;
  overflow: hidden;
}

.product-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 10px,
    rgba(255, 255, 255, 0.025) 10px,
    rgba(255, 255, 255, 0.025) 20px
  );
}

.product-hero-inner {
  max-width: 80rem;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.product-hero-icon {
  width: 4rem;
  height: 4rem;
  background: linear-gradient(135deg, var(--brand-cyan), var(--brand-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: white;
}

.product-hero h1 {
  font-size: clamp(1.875rem, 4vw, 3.25rem);
  font-weight: 800;
  color: white;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  max-width: 40rem;
}

.product-hero-tagline {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 42rem;
  line-height: 1.75;
  margin-bottom: 2rem;
}

.product-hero-accent {
  height: 3px;
  background: linear-gradient(90deg, var(--brand-cyan), var(--brand-blue));
  width: 4rem;
}

/* ----- Main Content Grid ----- */
.product-content {
  padding: 5rem 1rem;
  background: var(--background);
}

.product-content-inner {
  max-width: 80rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .product-content-inner {
    grid-template-columns: 3fr 2fr;
  }
}

/* ----- Description ----- */
.product-description > h2 {
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1.25rem;
  line-height: 1.3;
}

.product-description > p {
  color: var(--muted-foreground);
  line-height: 1.85;
  margin-bottom: 1rem;
  font-size: 0.9375rem;
}

.features-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--foreground);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 2rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.features-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ----- Feature List ----- */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.feature-list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
}

.feature-list-icon {
  flex-shrink: 0;
  width: 1.375rem;
  height: 1.375rem;
  background: linear-gradient(135deg, var(--brand-cyan), var(--brand-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.15rem;
  color: white;
}

.feature-list-item p {
  font-size: 0.9375rem;
  color: var(--foreground);
  line-height: 1.6;
  margin: 0;
}

/* ----- Highlight Card (right column) ----- */
.product-highlight-card {
  background: var(--surface-darker);
  padding: 2rem;
  position: sticky;
  top: 5rem;
}

.product-highlight-card h3 {
  font-size: 0.8125rem;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.highlight-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.625rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.875rem;
}

.highlight-item:last-of-type {
  border-bottom: none;
}

.highlight-label {
  color: rgba(255, 255, 255, 0.5);
  flex-shrink: 0;
}

.highlight-value {
  color: white;
  font-weight: 600;
  text-align: right;
}

.product-highlight-cta {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.btn-detail-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(90deg, var(--brand-cyan), var(--brand-blue));
  color: white;
  font-weight: 600;
  font-size: 0.9375rem;
  height: 2.75rem;
  padding: 0 1.5rem;
  border-radius: 0.25rem;
  text-decoration: none;
  transition: opacity 0.2s;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.btn-detail-primary:hover {
  opacity: 0.9;
}

.btn-detail-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #25D366;
  color: white;
  font-weight: 600;
  font-size: 0.9375rem;
  height: 2.75rem;
  padding: 0 1.5rem;
  border-radius: 0.25rem;
  text-decoration: none;
  transition: opacity 0.2s;
}

.btn-detail-wa:hover {
  opacity: 0.9;
}

/* ----- Industries Section ----- */
.product-industries {
  background: var(--secondary);
  padding: 5rem 1rem;
}

.product-industries-inner {
  max-width: 80rem;
  margin: 0 auto;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.section-label span {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.section-label .line {
  width: 2rem;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-cyan), var(--brand-blue));
}

.product-industries h2 {
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.product-industries > .product-industries-inner > p {
  color: var(--muted-foreground);
  font-size: 0.9375rem;
  margin-bottom: 2.5rem;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.industry-card {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 1.375rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: border-color 0.2s;
}

.industry-card:hover {
  border-color: var(--brand-blue);
}

.industry-card-icon {
  flex-shrink: 0;
  color: var(--brand-blue);
}

.industry-card h4 {
  font-weight: 600;
  color: var(--foreground);
  font-size: 0.9375rem;
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.industry-card p {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  line-height: 1.5;
}

/* ----- CTA Section ----- */
.product-cta {
  background: var(--surface-dark);
  padding: 5rem 1rem;
}

.product-cta-inner {
  max-width: 44rem;
  margin: 0 auto;
  text-align: center;
}

.product-cta h2 {
  font-size: clamp(1.625rem, 3vw, 2.25rem);
  font-weight: 800;
  color: white;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.product-cta p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 1rem;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}

.product-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.btn-cta-wa {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #25D366;
  color: white;
  font-weight: 600;
  font-size: 0.9375rem;
  height: 3rem;
  padding: 0 2rem;
  border-radius: 0.25rem;
  text-decoration: none;
  transition: opacity 0.2s;
}

.btn-cta-wa:hover {
  opacity: 0.9;
}

.btn-cta-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: white;
  font-weight: 600;
  font-size: 0.9375rem;
  height: 3rem;
  padding: 0 2rem;
  border-radius: 0.25rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}

.btn-cta-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.6);
}

/* ----- Related Products ----- */
.related-products {
  background: var(--background);
  padding: 4rem 1rem;
  border-top: 1px solid var(--border);
}

.related-products-inner {
  max-width: 80rem;
  margin: 0 auto;
}

.related-products h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1.5rem;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.875rem;
}

@media (min-width: 640px) {
  .related-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.related-card {
  border: 1px solid var(--border);
  background: var(--card);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.related-card:hover {
  border-color: var(--brand-blue);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
}

.related-card-icon {
  color: var(--brand-blue);
  margin-bottom: 0.125rem;
}

.related-card h4 {
  font-weight: 600;
  color: var(--foreground);
  font-size: 0.8125rem;
  line-height: 1.35;
}

.related-card-link {
  font-size: 0.75rem;
  color: var(--brand-blue);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.2rem;
  margin-top: auto;
  padding-top: 0.5rem;
}

/* ----- Mobile overrides ----- */
@media (max-width: 767px) {
  .product-hero {
    padding: 2.5rem 1rem 2.5rem;
  }

  .product-content {
    padding: 3rem 1rem;
  }

  .product-industries {
    padding: 3rem 1rem;
  }

  .product-cta {
    padding: 3rem 1rem;
  }

  .related-products {
    padding: 3rem 1rem;
  }

  .product-cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-cta-wa,
  .btn-cta-outline {
    justify-content: center;
  }

  .product-highlight-card {
    position: static;
  }
}
