/* Product page styles */

.product-hero {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
}
@media (max-width: 720px) { .product-hero { padding: 56px 0 72px; } }

/* Anatomy diagram */
.anatomy {
  margin-top: 80px;
  position: relative;
}
.anatomy-stage {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 820px) {
  .anatomy-stage { grid-template-columns: 1fr; gap: 32px; }
  .anatomy-divider { transform: rotate(90deg); margin: 0 auto; }
}
.anatomy-piece {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.anatomy-stick .product-placeholder { width: 100%; }
.anatomy-label {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.anatomy-num {
  font-size: 12px;
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 0.1em;
}
.anatomy-title {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.anatomy-sub {
  font-size: 12px;
  margin-top: 2px;
}
.anatomy-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.anatomy-phone-wrap {
  display: flex;
  justify-content: center;
}
.anatomy-phone {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 9/19.5;
  background: #0a1020;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 28px;
  padding: 8px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.7), 0 0 60px -20px rgba(59,110,242,0.3);
}
.anatomy-phone-screen {
  width: 100%; height: 100%;
  background: #000;
  border-radius: 22px;
  padding: 24px 18px;
}

/* Screen grid (app deep dive) */
.screen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 32px;
}
@media (max-width: 960px) {
  .screen-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .screen-grid { grid-template-columns: 1fr; }
}
.screen-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.screen-mock {
  background: linear-gradient(160deg, #fff, #ECE9E2);
  border: 1px solid var(--light-line);
  border-radius: 28px;
  padding: 24px;
  display: flex;
  justify-content: center;
}
.screen-meta { padding: 0 4px; }
.screen-meta .h-3 { margin-bottom: 6px; }
.screen-meta p {
  font-size: 14px;
  color: var(--light-text-muted);
  line-height: 1.5;
  margin: 0;
  max-width: 32ch;
}

/* Sensor spec layout */
.sensor-spec-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: flex-start;
}
@media (max-width: 1000px) {
  .sensor-spec-layout { grid-template-columns: 1fr; gap: 56px; }
}

/* Spec table */
.spec-table {
  width: 100%;
  margin-top: 36px;
  border-collapse: collapse;
  font-size: 14px;
}
.spec-table tr {
  border-top: 1px solid var(--line);
}
.spec-table tr:last-child {
  border-bottom: 1px solid var(--line);
}
.spec-table td {
  padding: 14px 0;
  vertical-align: top;
}
.spec-key {
  color: var(--text-muted);
  width: 36%;
  font-weight: 500;
}
.spec-val {
  color: var(--text);
  font-weight: 500;
}

/* light-section variant (cream bg) */
.section.light .spec-table tr,
.section.light .spec-table tr:last-child { border-color: var(--light-line); }
.section.light .spec-key { color: var(--light-text-muted); }
.section.light .spec-val { color: var(--light-text); }

/* Sensor renders grid */
.sensor-renders {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.sensor-renders .product-placeholder { width: 100%; }

/* Method list */
.method-list {
  list-style: none;
  padding: 0;
  margin: 56px 0 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.method-list li {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  padding: 32px 0;
  border-top: 1px solid var(--light-line);
}
.method-list li:last-child {
  border-bottom: 1px solid var(--light-line);
}
@media (max-width: 720px) {
  .method-list li { grid-template-columns: 1fr; gap: 12px; padding: 24px 0; }
}
.method-num {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.06em;
}
.method-list p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--light-text-muted);
  margin: 8px 0 0;
  max-width: 64ch;
}
.method-list em {
  font-style: italic;
  color: var(--light-text);
}
