/* ============================================================
   PRODUCT DEVELOPMENT PAGE
   SaaS & B2B Engineering — Living Dashboard
   ============================================================ */

/* ---------- HERO: LIVING DASHBOARD ---------- */
.product-hero {
  position: relative;
  height: calc(100svh - 76px);
  min-height: 0;
  display: flex;
  align-items: flex-start;
  padding: 20px 0 24px;
  overflow: hidden;
  isolation: isolate;
  background: transparent;
}

.product-hero__video,
.product-hero__video-veil {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.product-hero__video {
  z-index: 0;
  object-fit: cover;
  object-position: center;
  opacity: 0.92;
  filter: saturate(0.92) contrast(1.04) brightness(0.9);
  transform: scale(1.04);
}

.product-hero__video-veil {
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(10, 14, 20, 0.3) 0%, rgba(10, 14, 20, 0.12) 42%, rgba(10, 14, 20, 0.04) 100%),
    linear-gradient(180deg, rgba(10, 14, 20, 0.02) 0%, rgba(10, 14, 20, 0.16) 100%);
}

/* Background mesh */
.product-hero__mesh {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
}

.product-hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  animation: blobFloat 12s ease-in-out infinite alternate;
}

.product-hero__blob--1 {
  width: 600px;
  height: 600px;
  top: -20%;
  right: -10%;
  background: radial-gradient(circle, rgba(94, 234, 212, 0.15), transparent 70%);
  animation-delay: 0s;
}

.product-hero__blob--2 {
  width: 400px;
  height: 400px;
  bottom: -10%;
  left: -10%;
  background: radial-gradient(circle, rgba(58, 158, 146, 0.12), transparent 70%);
  animation-delay: -4s;
}

.product-hero__blob--3 {
  width: 300px;
  height: 300px;
  top: 40%;
  left: 40%;
  background: radial-gradient(circle, rgba(94, 234, 212, 0.08), transparent 70%);
  animation-delay: -8s;
}

@keyframes blobFloat {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.9); }
  100% { transform: translate(10px, -30px) scale(1.05); }
}

/* Grid overlay */
.product-hero__grid-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.15;
  background-image: 
    linear-gradient(to right, var(--line-soft) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line-soft) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 60% 50%, black, transparent 70%);
}

.product-hero__inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(280px, 0.68fr) minmax(0, 1.32fr);
  gap: 40px;
  align-items: start;
  padding-top: 8px;
}

/* ---- Left: Copy ---- */
.product-hero__copy {
  padding: 20px 0;
}

.product-hero__tag {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--signal);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.product-hero__tag-line {
  width: 32px;
  height: 1px;
  background: var(--signal);
  flex-shrink: 0;
}

.product-hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 4.8vw, 4rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.product-hero h1 .accent {
  color: var(--signal);
}

.product-hero__copy p {
  font-size: 1.08rem;
  color: var(--paper-dim);
  max-width: 480px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.product-hero__ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.product-hero__ctas .btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.product-hero__trust {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--paper-dim);
}

.product-hero__trust span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.product-hero__trust svg {
  color: var(--signal);
  flex-shrink: 0;
}

/* .product-hero has a permanently-dark background video + veil — pin text
   colors so the heading/copy stay light and legible against it regardless
   of theme (same reasoning as .software-hero in custom-software.css). */
[data-theme="light"] .product-hero__tag { color: #5EEAD4; }
[data-theme="light"] .product-hero__tag-line { background: #5EEAD4; }
[data-theme="light"] .product-hero h1 { color: #E9EDF2; }
[data-theme="light"] .product-hero h1 .accent { color: #5EEAD4; }
[data-theme="light"] .product-hero__copy p { color: #9CA7B5; }
[data-theme="light"] .product-hero__trust { color: #9CA7B5; }
[data-theme="light"] .product-hero__trust svg { color: #5EEAD4; }

/* ---- Right: Dashboard ---- */
.product-hero__dashboard {
  position: relative;
  width: 100%;
  max-width: none;
  justify-self: end;
  opacity: 0;
  transform: scale(0.92);
}

.dashboard {
  background: rgba(21, 27, 37, 0.42);
  border: 1px solid rgba(94, 234, 212, 0.2);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 40px 100px -40px rgba(0, 0, 0, 0.7), 0 0 80px rgba(94, 234, 212, 0.06);
  backdrop-filter: blur(6px) saturate(1.05);
  -webkit-backdrop-filter: blur(6px) saturate(1.05);
}

/* Dashboard Bar */
.dashboard__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: rgba(27, 35, 48, 0.46);
  border-bottom: 1px solid var(--line-soft);
}

.dashboard__dots {
  display: flex;
  gap: 6px;
}

.dashboard__dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line);
}

.dashboard__dots span:nth-child(1) { background: #FF6159; }
.dashboard__dots span:nth-child(2) { background: #FEBC2E; }
.dashboard__dots span:nth-child(3) { background: #28C840; }

.dashboard__title {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--paper-dim);
  letter-spacing: 0.04em;
}

.dashboard__live {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 600;
  color: #86EFAC;
  letter-spacing: 0.08em;
}

.dashboard__live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #86EFAC;
  animation: pulse-dot 1.4s ease-in-out infinite;
}

/* Dashboard Metrics */
.dashboard__metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-soft);
}

.dashboard__metric {
  background: rgba(21, 27, 37, 0.34);
  padding: 16px 20px;
}

.dashboard__metric-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--paper-dim);
  margin-bottom: 4px;
}

.dashboard__metric-label svg {
  width: 12px;
  height: 12px;
  color: var(--signal);
}

.dashboard__metric-value {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--paper);
  line-height: 1;
  display: block;
  margin-bottom: 2px;
}

.dashboard__metric-change {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--paper-dim);
}

.dashboard__metric-change--up {
  color: #86EFAC;
}

.dashboard__metric-change--down {
  color: #FF6159;
}

.dashboard__metric-change svg {
  width: 10px;
  height: 10px;
}

.dashboard__metric--signal {
  background: linear-gradient(135deg, rgba(94, 234, 212, 0.12), rgba(21, 27, 37, 0.32));
}

.dashboard__telemetry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 20px;
  background: rgba(11, 17, 25, 0.42);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  color: var(--paper-dim);
  font-family: var(--font-mono);
  font-size: 0.54rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.dashboard__telemetry strong {
  color: var(--paper);
  font-weight: 500;
}

.dashboard__telemetry-pulse {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 5px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 8px var(--signal);
}

/* System Health */
.dashboard__health {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line-soft);
}

.dashboard__health-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.dashboard__health-header span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--paper-dim);
  letter-spacing: 0.04em;
}

.dashboard__health-header span svg {
  width: 14px;
  height: 14px;
  color: var(--signal);
}

.dashboard__health-header span:last-child {
  font-weight: 600;
  color: var(--paper);
}

.dashboard__health-track {
  width: 100%;
  height: 6px;
  background: var(--line-soft);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.dashboard__health-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--signal), #86EFAC);
  border-radius: 4px;
  position: relative;
  transition: width 0.6s ease;
}

.dashboard__health-glow {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(94, 234, 212, 0.3), transparent 70%);
  filter: blur(8px);
}

.dashboard__health-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

/* Product Status Cards */
.dashboard__products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-soft);
}

.dashboard__product {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(21, 27, 37, 0.3);
  transition: background 0.3s ease;
}

.dashboard__product:hover {
  background: rgba(27, 35, 48, 0.5);
}

.dashboard__product-status {
  flex-shrink: 0;
}

.dashboard__product-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: block;
  position: relative;
}

.dashboard__product-dot--online {
  background: #86EFAC;
  box-shadow: 0 0 12px rgba(134, 239, 172, 0.4);
}

.dashboard__product-dot--online::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(134, 239, 172, 0.2);
  animation: pulse-ring 2s ease-in-out infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(2); opacity: 0; }
}

.dashboard__product-info {
  flex: 1;
  min-width: 0;
}

.dashboard__product-name {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--paper);
  line-height: 1.2;
}

.dashboard__product-meta {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--paper-dim);
}

.dashboard__product-badge {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(134, 239, 172, 0.12);
  color: #86EFAC;
  border: 1px solid rgba(134, 239, 172, 0.2);
  flex-shrink: 0;
}

/* Activity Feed */
.dashboard__feed {
  padding: 16px 20px;
  border-top: 1px solid var(--line-soft);
}

.dashboard__feed-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.dashboard__feed-header span:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--paper-dim);
  letter-spacing: 0.04em;
}

.dashboard__feed-header span:first-child svg {
  width: 14px;
  height: 14px;
  color: var(--signal);
}

.dashboard__feed-live {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  font-weight: 600;
  color: #86EFAC;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dashboard__feed-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #86EFAC;
  animation: pulse-dot 1.2s ease-in-out infinite;
}

.dashboard__feed-items {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 80px;
  overflow: hidden;
}

.dashboard__feed-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.7rem;
  padding: 2px 0;
  animation: feedSlide 0.4s ease-out both;
}

.dashboard__feed-item-content {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--paper-dim);
}

.dashboard__feed-item-content .highlight {
  color: var(--paper);
}

.dashboard__feed-item-time {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  color: var(--paper-dim);
  opacity: 0.5;
  flex-shrink: 0;
}

.dashboard__feed-item-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.dashboard__feed-item-icon--deploy { color: #5EEAD4; }
.dashboard__feed-item-icon--user { color: #7DD3FC; }
.dashboard__feed-item-icon--health { color: #86EFAC; }
.dashboard__feed-item-icon--order { color: #F2A93B; }
.dashboard__feed-item-icon--security { color: #FF6159; }

@keyframes feedSlide {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Deployment Chart */
.dashboard__chart {
  padding: 16px 20px 20px;
  border-top: 1px solid var(--line-soft);
}

.dashboard__chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.dashboard__chart-header span:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--paper-dim);
  letter-spacing: 0.04em;
}

.dashboard__chart-header span:first-child svg {
  width: 14px;
  height: 14px;
  color: var(--signal);
}

.dashboard__chart-header span:last-child {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--paper-dim);
}

.dashboard__chart-area {
  width: 100%;
  height: 40px;
  position: relative;
}

.dashboard__chart-svg {
  width: 100%;
  height: 100%;
}

.dashboard__chart-line {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: chartDraw 1.8s ease-out forwards;
}

@keyframes chartDraw {
  to { stroke-dashoffset: 0; }
}

/* .dashboard is a permanently-dark frosted-glass panel (hardcoded dark rgba
   background above) sitting over the hero video — re-pin tokens so its
   descendants stay legible regardless of theme, same reasoning as
   .cy-console / .ct-mini. */
[data-theme="light"] .dashboard {
  --panel: #151B25;
  --panel-2: #1B2330;
  --line: #2A3342;
  --line-soft: #1E2530;
  --paper: #E9EDF2;
  --paper-dim: #9CA7B5;
  --signal: #5EEAD4;
  --signal-dim: #3A9E92;
  --amber: #F2A93B;
}

/* ============================================================
   DESKTOP HERO — two-column layout, dashboard sized to column
   (replaces the old "100vw full-bleed dashboard" override)
   ============================================================ */
@media (min-width: 1025px) {
  .product-hero__inner {
    display: grid;
    grid-template-columns: minmax(280px, 0.62fr) minmax(0, 1.38fr);
    gap: 48px;
    align-items: start;
    padding-top: 8px;
  }

  .product-hero__copy {
    max-width: none;
    margin: 0;
    padding: 20px 0;
    text-align: left;
  }

  .product-hero__tag,
  .product-hero__ctas,
  .product-hero__trust {
    justify-content: flex-start;
  }

  .product-hero__copy p {
    margin-left: 0;
    margin-right: 0;
    max-width: 480px;
  }

  .product-hero__dashboard {
    width: 100%;
    max-width: none;
    justify-self: stretch;
    margin: 0;
    transform-origin: top left;
  }

  /* Compact dashboard for the right-hand column */
  .dashboard__bar {
    padding: 9px 16px;
  }

  .dashboard__metrics {
    grid-template-columns: repeat(3, 1fr);
  }

  .dashboard__metric {
    padding: 11px 14px;
  }

  .dashboard__metric-label {
    font-size: 0.55rem;
    white-space: nowrap;
  }

  .dashboard__metric-value {
    font-size: 1.35rem;
  }

  .dashboard__metric-change {
    font-size: 0.55rem;
  }

  .dashboard__telemetry {
    padding: 6px 16px;
    font-size: 0.52rem;
    gap: 10px;
  }

  .dashboard__health {
    padding: 10px 16px;
  }

  .dashboard__health-header {
    margin-bottom: 6px;
  }

  .dashboard__products {
    grid-template-columns: repeat(3, 1fr);
  }

  .dashboard__product {
    padding: 9px 12px;
  }

  .dashboard__product-name {
    font-size: 0.7rem;
  }

  .dashboard__product-meta {
    font-size: 0.55rem;
  }

  .dashboard__feed {
    padding: 10px 16px;
  }

  .dashboard__feed-header {
    margin-bottom: 6px;
  }

  .dashboard__feed-items {
    max-height: 58px;
    gap: 2px;
  }

  .dashboard__chart {
    padding: 10px 16px 12px;
  }

  .dashboard__chart-header {
    margin-bottom: 6px;
  }

  .dashboard__chart-area {
    height: 30px;
  }
}

@media (min-width: 1025px) and (max-width: 1400px) {
  .product-hero__inner {
    grid-template-columns: minmax(260px, 0.55fr) minmax(0, 1.45fr);
    gap: 36px;
  }
}

/* ---- STATS STRIP ---- */
.product-stats {
  padding: 40px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: var(--ink-2);
}

.product-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
}

.product-stats__item {
  background: var(--panel);
  padding: 28px 24px;
  text-align: center;
}

.product-stats__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(94, 234, 212, 0.08);
  border: 1px solid rgba(94, 234, 212, 0.15);
  margin-bottom: 12px;
}

.product-stats__icon svg {
  width: 22px;
  height: 22px;
  color: var(--signal);
}

.product-stats__number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--paper);
  line-height: 1;
  margin-bottom: 6px;
}

.product-stats__label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--paper-dim);
  margin-bottom: 2px;
}

.product-stats__sub {
  font-size: 0.78rem;
  color: var(--paper-dim);
  opacity: 0.6;
}

/* ---- PRODUCT SHOWCASE ---- */
.product-showcase {
  padding: 100px 0;
}

.product-showcase__header {
  max-width: 640px;
  margin-bottom: 56px;
}

.product-showcase__tag {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--signal);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.product-showcase__tag-line {
  width: 32px;
  height: 1px;
  background: var(--signal);
  flex-shrink: 0;
}

.product-showcase__header h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.18;
  margin-bottom: 16px;
}

.product-showcase__header h2 .accent {
  color: var(--signal);
}

.product-showcase__header p {
  color: var(--paper-dim);
  font-size: 1.02rem;
  line-height: 1.6;
}

.product-showcase__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ---- Product Card ---- */
.product-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 28px 32px;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  border-color: rgba(94, 234, 212, 0.3);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px -20px rgba(94, 234, 212, 0.12);
}

.product-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.product-card__status {
  display: flex;
  align-items: center;
  gap: 6px;
}

.product-card__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #86EFAC;
  box-shadow: 0 0 12px rgba(134, 239, 172, 0.4);
}

.product-card__status-text {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--paper-dim);
  letter-spacing: 0.04em;
}

.product-card__category {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border: 1px solid rgba(94, 234, 212, 0.2);
  border-radius: 100px;
  color: var(--signal);
}

.product-card__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--paper);
  margin-bottom: 8px;
}

.product-card__desc {
  font-size: 0.9rem;
  color: var(--paper-dim);
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}

.product-card__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 12px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 14px;
}

.product-card__metric {
  text-align: center;
}

.product-card__metric-value {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--signal);
  line-height: 1;
}

.product-card__metric-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--paper-dim);
  margin-top: 2px;
}

.product-card__tech {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
  list-style: none;
  padding: 0;
}

.product-card__tech li {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--paper-dim);
  padding: 2px 10px;
  background: var(--ink-2);
  border: 1px solid var(--line-soft);
  border-radius: 4px;
}

.product-card__impact {
  padding: 12px 14px;
  background: var(--ink-2);
  border: 1px solid var(--line-soft);
  border-radius: 8px;
}

.product-card__impact-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--signal);
  margin-bottom: 4px;
}

.product-card__impact p {
  font-size: 0.85rem;
  color: var(--paper-dim);
  font-style: italic;
  line-height: 1.5;
  margin: 0;
}

/* ---- PRODUCT LIFECYCLE ---- */
.product-lifecycle {
  padding: 100px 0;
  background: var(--ink-2);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.product-lifecycle__header {
  max-width: 640px;
  margin-bottom: 64px;
}

.product-lifecycle__tag {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--signal);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.product-lifecycle__tag-line {
  width: 32px;
  height: 1px;
  background: var(--signal);
  flex-shrink: 0;
}

.product-lifecycle__header h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.18;
  margin-bottom: 16px;
}

.product-lifecycle__header h2 .accent {
  color: var(--signal);
}

.product-lifecycle__header p {
  color: var(--paper-dim);
  font-size: 1.02rem;
  line-height: 1.6;
}

.product-lifecycle__track {
  position: relative;
  padding: 20px 0 40px;
}

.product-lifecycle__line {
  position: absolute;
  left: 60px;
  top: 60px;
  bottom: 40px;
  width: 2px;
  background: var(--line-soft);
  border-radius: 2px;
}

.product-lifecycle__line-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, var(--signal), var(--signal-dim));
  border-radius: 2px;
  box-shadow: 0 0 20px rgba(94, 234, 212, 0.3);
}

.product-lifecycle__stages {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.product-lifecycle__stage {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 40px;
  padding: 24px 0;
  opacity: 0.3;
  transition: opacity 0.5s ease;
}

.product-lifecycle__stage.is-active {
  opacity: 1;
}

.product-lifecycle__node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding-top: 4px;
}

.product-lifecycle__number {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--paper-dim);
  letter-spacing: 0.06em;
}

.product-lifecycle__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--panel);
  border: 2px solid var(--line);
  color: var(--paper-dim);
  transition: all 0.4s ease;
}

.product-lifecycle__stage.is-active .product-lifecycle__icon {
  border-color: var(--signal);
  color: var(--signal);
  box-shadow: 0 0 30px rgba(94, 234, 212, 0.15);
}

.product-lifecycle__icon svg {
  width: 20px;
  height: 20px;
}

.product-lifecycle__content h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--paper);
  margin-bottom: 4px;
}

.product-lifecycle__content p {
  color: var(--paper-dim);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 480px;
  margin: 0;
}

/* ---- PRODUCT DIFFERENCE (comparison table) ---- */
.product-difference {
  padding: 100px 0;
}

.product-difference__header {
  max-width: 640px;
  margin-bottom: 48px;
}

.product-difference__tag {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--signal);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.product-difference__tag-line {
  width: 32px;
  height: 1px;
  background: var(--signal);
  flex-shrink: 0;
}

.product-difference__header h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.18;
}

.product-difference__header h2 .accent {
  color: var(--signal);
}

.product-difference__table {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.product-difference__row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 16px 24px;
  border-bottom: 1px solid var(--line-soft);
  align-items: center;
}

.product-difference__row:last-child {
  border-bottom: none;
}

.product-difference__row--header {
  background: var(--panel-2);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--paper-dim);
}

.product-difference__row span:first-child {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  color: var(--paper);
}

.product-difference__row span:first-child svg {
  color: var(--signal);
  flex-shrink: 0;
}

.product-difference__row span:nth-child(2) {
  color: var(--paper-dim);
}

.product-difference__highlight {
  color: var(--signal) !important;
  font-weight: 600;
}

/* ---- MAINTENANCE ---- */
.product-maintenance {
  padding: 100px 0;
  background: var(--ink-2);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.product-maintenance__header {
  max-width: 640px;
  margin-bottom: 56px;
}

.product-maintenance__tag {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--signal);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.product-maintenance__tag-line {
  width: 32px;
  height: 1px;
  background: var(--signal);
  flex-shrink: 0;
}

.product-maintenance__header h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.18;
  margin-bottom: 16px;
}

.product-maintenance__header h2 .accent {
  color: var(--signal);
}

.product-maintenance__header p {
  color: var(--paper-dim);
  font-size: 1.02rem;
  line-height: 1.6;
}

.product-maintenance__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-maintenance__item {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all 0.4s ease;
}

.product-maintenance__item:hover {
  border-color: rgba(94, 234, 212, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px -16px rgba(94, 234, 212, 0.1);
}

.product-maintenance__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(94, 234, 212, 0.08);
  border: 1px solid rgba(94, 234, 212, 0.15);
  margin-bottom: 16px;
}

.product-maintenance__icon svg {
  width: 24px;
  height: 24px;
  color: var(--signal);
}

.product-maintenance__item h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--paper);
  margin-bottom: 8px;
}

.product-maintenance__item p {
  font-size: 0.9rem;
  color: var(--paper-dim);
  line-height: 1.6;
  margin: 0;
}

/* ---- TESTIMONIALS ---- */
.product-testimonials {
  padding: 80px 0;
}

.product-testimonials__header {
  max-width: 640px;
  margin-bottom: 56px;
}

.product-testimonials__tag {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--signal);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.product-testimonials__tag-line {
  width: 32px;
  height: 1px;
  background: var(--signal);
  flex-shrink: 0;
}

.product-testimonials__header h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.18;
}

.product-testimonials__header h2 .accent {
  color: var(--signal);
}

.product-testimonials__slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--line);
}

.product-testimonials__track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.product-testimonials__slide {
  flex: 0 0 100%;
  padding: 48px 56px;
}

.product-testimonials__quote-mark {
  display: block;
  margin-bottom: 16px;
}

.product-testimonials__quote-mark svg {
  color: var(--signal);
  opacity: 0.25;
}

.product-testimonials__slide blockquote p {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--paper);
  margin-bottom: 16px;
}

.product-testimonials__slide blockquote footer {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.product-testimonials__slide blockquote footer strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--paper);
}

.product-testimonials__slide blockquote footer span {
  font-size: 0.85rem;
  color: var(--paper-dim);
}

.product-testimonials__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 16px 0 24px;
  border-top: 1px solid var(--line-soft);
}

.product-testimonials__control {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--paper-dim);
  cursor: pointer;
  transition: all 0.3s ease;
}

.product-testimonials__control:hover {
  border-color: var(--signal);
  color: var(--paper);
}

.product-testimonials__dots {
  display: flex;
  gap: 8px;
}

.product-testimonials__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.product-testimonials__dot.is-active {
  background: var(--signal);
  width: 24px;
  border-radius: 4px;
}

/* ---- CTA ---- */
.product-cta {
  padding: 100px 0;
}

.product-cta__card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  padding: 56px 48px;
}

.product-cta__tag {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--signal);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.product-cta__tag-line {
  width: 32px;
  height: 1px;
  background: var(--signal);
  flex-shrink: 0;
}

.product-cta__content h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  line-height: 1.15;
  margin-bottom: 16px;
}

.product-cta__content h2 .accent {
  color: var(--signal);
}

.product-cta__content p {
  color: var(--paper-dim);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 480px;
}

.product-cta__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.product-cta__actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.product-cta__note {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--paper-dim);
}

/* CTA Code Block */
.product-cta__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-cta__code {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  line-height: 2.1;
  background: var(--ink);
  padding: 32px 36px;
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  width: 100%;
  position: relative;
}

.product-cta__code-comment {
  color: var(--paper-dim);
  opacity: 0.5;
}

.product-cta__code-line {
  display: block;
}

.product-cta__code-line--indent {
  padding-left: 20px;
}

.product-cta__code-keyword {
  color: var(--signal);
}

.product-cta__code-variable {
  color: var(--paper);
}

.product-cta__code-operator {
  color: var(--paper-dim);
}

.product-cta__code-bracket {
  color: var(--paper);
}

.product-cta__code-property {
  color: #7DD3FC;
}

.product-cta__code-string {
  color: var(--amber);
}

.product-cta__code-cursor {
  display: inline-block;
  width: 8px;
  height: 1.1em;
  background: var(--signal);
  animation: caret-blink 1s steps(1) infinite;
  vertical-align: -0.15em;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .product-hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .product-hero__dashboard {
    order: -1;
    max-width: 700px;
    margin: 0 auto;
    justify-self: center;
  }
  
  .product-showcase__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .product-maintenance__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .product-stats__grid {
    grid-template-columns: repeat(2, 1fr);
    border-radius: var(--radius);
  }
  
  .product-cta__card {
    grid-template-columns: 1fr;
    padding: 40px 32px;
  }
  
  .product-cta__visual {
    order: -1;
  }
  
  .dashboard__metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .dashboard__products {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .product-hero {
    height: calc(100svh - 76px);
    min-height: 0;
    padding: 16px 0 24px;
  }

  .product-hero__inner {
    gap: 32px;
  }

  .product-hero__dashboard {
    width: min(100%, 560px);
    transform: scale(0.96);
    transform-origin: top center;
    margin-bottom: -2%;
  }
  
  .product-hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
  }
  
  .product-hero__copy p {
    font-size: 0.95rem;
  }
  
  .product-hero__trust {
    flex-wrap: wrap;
    gap: 8px 12px;
  }
  
  .dashboard__metric-value {
    font-size: 1.2rem;
  }
  
  .dashboard__metric {
    padding: 10px;
  }

  .dashboard__metrics,
  .dashboard__products {
    grid-template-columns: repeat(3, 1fr);
  }

  .dashboard__metric-label {
    font-size: 0.5rem;
    white-space: nowrap;
  }

  .dashboard__metric-change {
    font-size: 0.5rem;
  }

  .dashboard__product {
    display: block;
    padding: 9px 10px;
  }

  .dashboard__product-status {
    margin-bottom: 5px;
  }

  .dashboard__product-badge {
    display: none;
  }

  .dashboard__product-name {
    font-size: 0.65rem;
  }

  .dashboard__product-meta {
    font-size: 0.5rem;
    white-space: nowrap;
  }

  .dashboard__telemetry {
    padding: 7px 12px;
    gap: 8px;
    font-size: 0.48rem;
    overflow: hidden;
  }
  
  .dashboard__feed-items {
    max-height: 60px;
  }

  .dashboard__chart {
    padding-top: 10px;
    padding-bottom: 12px;
  }

  .dashboard__chart-area {
    height: 28px;
  }
  
  .product-showcase__grid {
    grid-template-columns: 1fr;
  }
  
  .product-maintenance__grid {
    grid-template-columns: 1fr;
  }
  
  .product-stats__grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .product-stats__item {
    padding: 20px 16px;
  }
  
  .product-stats__number {
    font-size: 1.6rem;
  }
  
  .product-lifecycle__stage {
    grid-template-columns: 92px 1fr;
    gap: 24px;
    padding: 16px 0;
  }
  
  .product-lifecycle__node {
    flex-direction: row;
    gap: 10px;
    padding-top: 0;
  }
  
  .product-lifecycle__line {
    left: 16px;
    top: 40px;
  }
  
  .product-difference__row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 12px 16px;
  }
  
  .product-difference__row--header {
    display: none;
  }
  
  .product-difference__row span:nth-child(2) {
    font-size: 0.85rem;
    padding-left: 28px;
  }
  
  .product-difference__row span:nth-child(3) {
    font-size: 0.85rem;
    padding-left: 28px;
  }
  
  .product-testimonials__slide {
    padding: 32px 24px;
  }
  
  .product-testimonials__slide blockquote p {
    font-size: 1rem;
  }
  
  .product-cta__card {
    padding: 32px 24px;
  }
  
  .product-cta__code {
    font-size: 0.75rem;
    padding: 20px 24px;
  }
  
  .product-cta__actions {
    flex-direction: column;
    width: 100%;
  }
  
  .product-cta__actions .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .product-hero__dashboard {
    width: min(100%, 390px);
    transform: scale(0.88);
    margin-bottom: -10%;
  }

  .dashboard__bar {
    padding: 10px 12px;
  }

  .dashboard__health,
  .dashboard__feed,
  .dashboard__chart {
    padding-left: 12px;
    padding-right: 12px;
  }

  .dashboard__telemetry {
    justify-content: flex-start;
    flex-wrap: wrap;
    line-height: 1.2;
  }

  .dashboard__metrics {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .dashboard__metric-value {
    font-size: 1rem;
  }
  
  .dashboard__bar {
    flex-wrap: wrap;
    gap: 4px;
  }
  
  .dashboard__title {
    font-size: 0.6rem;
  }
  
  .dashboard__product {
    padding: 8px;
  }
  
  .dashboard__product-name {
    font-size: 0.7rem;
  }
  
  .dashboard__feed-item {
    font-size: 0.65rem;
    flex-wrap: wrap;
  }
  
  .product-stats__grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .product-stats__item {
    padding: 16px 12px;
  }
  
  .product-stats__number {
    font-size: 1.4rem;
  }
  
  .product-stats__icon {
    width: 36px;
    height: 36px;
  }
  
  .product-stats__icon svg {
    width: 18px;
    height: 18px;
  }
  
  .product-cta__code {
    font-size: 0.65rem;
    padding: 16px 18px;
    line-height: 1.8;
  }
  
  .product-cta__code-line--indent {
    padding-left: 12px;
  }
}

/* ============================================================
   ANIMATION HELPERS
   ============================================================ */
@keyframes pulse-dot {
  0%, 100% { opacity: 0.4; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}

@keyframes caret-blink {
  50% { opacity: 0; }
}

/* Reveal helpers */
[data-reveal] {
  opacity: 0;
}

[data-reveal="fade"] {
  opacity: 0;
}

[data-reveal="up"] {
  opacity: 0;
  transform: translateY(36px);
}

[data-reveal="scale"] {
  opacity: 0;
  transform: scale(0.94);
}