/* ROBOLAB — Products page styles (products.html) */

/* Page hero */
.products-hero {
  background:
    radial-gradient(1100px 600px at 85% -10%, rgba(74, 159, 216, 0.18), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(74, 159, 216, 0.10), transparent 60%),
    linear-gradient(135deg, #F3F8FD 0%, #E8F1FB 50%, #F7FAFD 100%);
  padding: 4.5rem 0 3rem;
  position: relative;
  overflow: hidden;
}
.products-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(74, 159, 216, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse at 70% 30%, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, black 30%, transparent 70%);
  pointer-events: none;
}
.products-hero > * { position: relative; z-index: 1; }

/* Quick-nav pills */
.product-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.75rem;
}
.product-jump a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface-primary);
  border: 1px solid var(--border-subtle);
  color: var(--foreground-secondary);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 100px;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
  box-shadow: var(--shadow-xs);
}
.product-jump a:hover,
.product-jump a:focus-visible {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* Product section shell */
.product-section { padding: 5rem 0; }
.product-section--alt { background: var(--surface-soft); }

/* Product layout — media left, info right (alternates) */
.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3rem;
}
.product-layout--flip .product-media { order: 2; }
@media (max-width: 900px) {
  .product-layout { grid-template-columns: 1fr; gap: 2rem; }
  .product-layout--flip .product-media { order: 0; }
}

/* Visual placeholder — brand-gradient tile with icon */
.product-media {
  border-radius: var(--radius-xl);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  color: #fff;
  background: linear-gradient(135deg, #EEF4FA, #E8F1FB);
}
.product-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.product-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}
@media (max-width: 900px) {
  .product-media { aspect-ratio: 16 / 9; }
}

/* Brand badge */
.brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 1rem;
}
.brand-zmrobo  { background: rgba(14, 165, 233, 0.12); color: #0369A1; border: 1px solid rgba(14, 165, 233, 0.3); }
.brand-bambu   { background: rgba(16, 185, 129, 0.12); color: #047857; border: 1px solid rgba(16, 185, 129, 0.3); }
.brand-pika    { background: rgba(245, 158, 11, 0.14); color: #B45309; border: 1px solid rgba(245, 158, 11, 0.32); }
.brand-sense   { background: rgba(124, 58, 237, 0.12); color: #6D28D9; border: 1px solid rgba(124, 58, 237, 0.3); }

.product-title {
  font-size: clamp(1.625rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--foreground-primary);
  margin: 0 0 0.85rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.product-desc {
  font-size: 1rem;
  color: var(--foreground-secondary);
  line-height: 1.7;
  margin: 0 0 1.5rem;
}

/* Feature checklist */
.product-points {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  display: grid;
  gap: 0.6rem;
}
.product-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--foreground-secondary);
  line-height: 1.55;
}
.product-points .check-icon { color: #22c55e; font-weight: 800; flex-shrink: 0; line-height: 1.5; }

/* Quick facts row */
.product-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}
.product-fact {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface-primary);
  border: 1px solid var(--border-subtle);
  border-radius: 100px;
  padding: 7px 14px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--foreground-secondary);
  box-shadow: var(--shadow-xs);
}

/* CTA row */
.product-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--border-subtle);
  color: var(--foreground-primary);
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover, .btn-ghost:focus-visible {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

/* Highlight feature grid under each product */
.product-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 900px) { .product-feature-grid { grid-template-columns: 1fr; } }
.product-feature-card {
  background: var(--surface-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.product-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.product-feature-card .feature-icon {
  width: 46px;
  height: 46px;
  font-size: 1.35rem;
  margin-bottom: 0.9rem;
}
.product-feature-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.45rem;
  color: var(--foreground-primary);
}
.product-feature-card p {
  font-size: 0.875rem;
  color: var(--foreground-secondary);
  line-height: 1.6;
  margin: 0;
}

/* Bottom contact band */
.product-contact-band {
  margin-top: 5rem;
  background: linear-gradient(135deg, #12253D 0%, #1A3656 100%);
  border-radius: var(--radius-xl);
  color: #fff;
  padding: 3rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.product-contact-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(500px 180px at 20% 0%, rgba(74, 159, 216, 0.35), transparent 70%),
    radial-gradient(500px 180px at 80% 100%, rgba(232, 128, 58, 0.25), transparent 70%);
  pointer-events: none;
}
.product-contact-band > * { position: relative; z-index: 1; }
.product-contact-band h3 {
  font-size: clamp(1.375rem, 2.6vw, 1.875rem);
  font-weight: 800;
  margin: 0 0 0.6rem;
  color: #fff;
}
.product-contact-band p {
  color: rgba(255, 255, 255, 0.72);
  max-width: 620px;
  margin: 0 auto 1.5rem;
  line-height: 1.7;
}
.product-contact-band .btn-primary { box-shadow: 0 8px 24px rgba(74, 159, 216, 0.45); }
