/* Product discovery: compact navigation with a visual product overview. */
.product-nav { position: relative; }
.products-toggle { border: 0; padding: 0; background: transparent; color: inherit; display: flex; align-items: center; gap: 7px; cursor: pointer; }
.products-toggle > svg { width: 14px; height: 14px; transition: transform .18s; }
.products-toggle[aria-expanded=true] > svg { transform: rotate(180deg); }
.products-toggle:hover { color: #0000ff; }
.header nav { align-items: center; }
.products-menu { position: absolute; top: calc(100% + 24px); right: -185px; width: min(820px, 88vw); padding: 12px; display: grid; grid-template-columns: 1fr 1.15fr; gap: 12px; background: white; border: 1px solid #ececec; border-radius: 18px; box-shadow: 0 24px 60px #00000018; }
.products-menu[hidden] { display: none; }
.product-menu-list { display: flex; flex-direction: column; gap: 3px; padding: 4px; }
.product-menu-link { position: relative; display: block; padding: 13px 34px 13px 13px; border-radius: 9px; }
.product-menu-link span { display: block; font-size: 16px; letter-spacing: -.4px; }
.product-menu-link small { display: block; color: #777; font-size: 12px; line-height: 1.5; margin-top: 5px; }
.product-menu-link > svg { position: absolute; right: 12px; top: 16px; width: 17px; height: 17px; color: #0000ff; }
.product-menu-link.is-active, .product-menu-link:hover { background: #f5f5f5; }
.header .all-products { display: flex; justify-content: space-between; border-top: 1px solid #eee; margin: 10px 12px 0; padding: 18px 0 7px; font-size: 12px; }
.menu-preview { background: #f8f8f8; border-radius: 10px; padding: 20px; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.menu-preview-scene { min-height: 275px; display: flex; align-items: center; justify-content: center; }
.menu-preview-caption { padding: 25px 8px 8px; }
.menu-preview-caption > span { display: block; color: #777; font-size: 11px; margin-bottom: 10px; }
.menu-preview-caption > b { font-size: 23px; font-weight: 450; letter-spacing: -.8px; line-height: 1.2; display: block; }
.menu-preview-caption small { display: block; color: #999; font-size: 9px; margin-top: 15px; }
.product-scene { position: relative; height: 280px; padding: 28px; background: #f6f6f6; border: 1px solid #f0f0f0; border-radius: 14px; display: flex; align-items: center; justify-content: center; overflow: hidden; transition: background .2s; }
.card-arrow { display: flex; color: #0000ff; }
.card-arrow svg { width: 20px; height: 20px; }
.preview-label { position: absolute; bottom: 10px; right: 14px; font-size: 8px; letter-spacing: .2px; color: #999; }
.scene-search { width: 100%; max-width: 360px; font-size: 11px; }
.scene-prompt { display: block; width: fit-content; margin-left: auto; padding: 13px; border-radius: 15px 15px 4px 15px; background: #e8e8e8; }
.scene-answer { display: flex; gap: 10px; margin: 23px 0; align-items: flex-start; }
.scene-mark { color: #0000ff; font-size: 21px; line-height: 1; }
.scene-answer > div { flex: 1; }
.scene-answer b { font-weight: 500; }
.scene-answer i { display: block; background: #dedede; height: 5px; margin-top: 9px; border-radius: 4px; }
.scene-answer i:nth-of-type(2) { width: 90%; }
.scene-answer i:nth-of-type(3) { width: 66%; }
.source-chips { display: flex; gap: 5px; margin-top: 13px; }
.source-chips em { font-size: 8px; font-style: normal; border: 1px solid #ddd; padding: 3px 6px; border-radius: 5px; color: #888; }
.scene-input { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border: 1px solid #ddd; border-radius: 30px; color: #999; }
.scene-input b { color: white; background: #0000ff; width: 21px; height: 21px; border-radius: 50%; display: grid; place-items: center; }
.scene-aphura-code { background: #f6f6f6; border-color: #f0f0f0; }
.scene-code { width: 100%; max-width: 400px; color: #333; font: 11px/1.9 ui-monospace, monospace; }
.terminal-bar { font-size: 9px; color: #888; border-bottom: 1px solid #ddd; padding-bottom: 12px; margin-bottom: 16px; }
.terminal-bar span { color: #666; margin-right: 9px; letter-spacing: 2px; }
.scene-code p { font: inherit; color: #333; margin: 0 0 14px; }
.scene-code p span, .scene-code code > span { color: #0000ff; }
.scene-code code { font: inherit; color: #555; }
.scene-code em { color: #52684b; font-style: normal; }
.terminal-bottom { color: #777; margin-top: 18px; font-size: 9px; }
.scene-aphura-code .preview-label { color: #777; }
.scene-workflow { width: 100%; max-width: 350px; text-align: center; font-size: 11px; }
.workflow-request { padding: 13px 18px; background: #fff; border: 1px solid #e5e5e5; border-radius: 10px; display: inline-block; }
.workflow-line { height: 27px; width: 1px; background: #d0d0d0; margin: auto; }
.workflow-steps { display: flex; justify-content: center; gap: 8px; }
.workflow-steps > span { flex: 1; padding: 13px 4px; border: 1px solid #e3e3e3; border-radius: 8px; background: white; }
.workflow-steps b { display: block; color: #0000ff; font-size: 9px; font-weight: 500; margin-bottom: 8px; }
.workflow-caption { font-size: 10px; color: #999; margin-top: 23px; }
.scene-voice { text-align: center; width: 100%; }
.scene-voice > span { font-size: 11px; color: #999; }
.voice-wave { display: flex; justify-content: center; align-items: center; gap: 5px; height: 110px; }
.voice-wave i { width: 4px; height: var(--bar); background: #0000ff; border-radius: 10px; }
.scene-voice > b { font-size: 15px; font-weight: 450; letter-spacing: -.3px; }
.scene-private { display: flex; flex-direction: column; align-items: center; gap: 22px; width: 100%; }
.private-orbit { width: 115px; height: 115px; border-radius: 50%; border: 1px solid #ddd; display: grid; place-items: center; box-shadow: 0 0 0 15px #f6f6f6, 0 0 0 16px #e8e8e8; }
.private-orbit svg { width: 60px; height: 60px; color: #0000ff; }
.privacy-labels { display: flex; gap: 14px; font-size: 10px; color: #888; }
.menu-preview .scene-code { background: #f6f6f6; border-radius: 10px; padding: 20px; font-size: 10px; }
@media (max-width: 1100px) {
  .product-scene { padding: 20px; height: 260px; }
  .products-menu { right: -160px; }
}
@media (max-width: 900px) {
  .products-menu { right: -185px; width: 760px; max-width: 90vw; }
}
@media (max-width: 760px) {
  .header nav { align-items: stretch; max-height: calc(100dvh - 78px); overflow-y: auto; gap: 20px; }
  .header nav .nav-contact { width: fit-content; padding: 0; border: 0; }
  .products-toggle { width: 100%; justify-content: space-between; }
  .products-menu { position: static; width: 100%; max-width: none; display: block; border: 0; box-shadow: none; padding: 12px 0 0; border-radius: 0; }
  .menu-preview { display: none; }
  .product-menu-list { padding: 0; }
  .product-menu-link { padding: 12px; }
  .product-menu-link span { font-size: 14px; }
  .product-menu-link small { max-width: 90%; }
  .product-scene { height: 260px; padding: 30px; }
  .privacy-labels { gap: 10px; font-size: 9px; }
}



/* Compact portfolio: all five products in one desktop section. */
.products.section { padding-block: 48px; }
.products .section-heading { margin-bottom: 28px; }
.products .section-heading h2 { margin-top: 0; }
.product-rows { border-top: 1px solid #ddd; }
.product-row { border-bottom: 1px solid #ddd; }
.product-row-link { display: grid; grid-template-columns: minmax(210px, 1fr) minmax(0, 1.5fr) 20px; align-items: center; gap: 28px; min-height: 64px; padding: 16px 20px 16px 0; transition: background .2s; }
.product-row-link:hover { background: #f1f1f1; }
.product-row h3 { font-size: 24px; font-weight: 450; letter-spacing: -.7px; }
.product-row p { color: #777; font-size: 14px; line-height: 1.5; }
@media (max-width: 900px) {
  .product-row-link { grid-template-columns: minmax(180px, 1fr) minmax(0, 1.5fr) 20px; gap: 20px; }
  .product-row h3 { font-size: 21px; }
}
@media (max-width: 760px) {
  .products.section { padding-block: 40px; }
  .product-row-link { grid-template-columns: 1fr 20px; gap: 8px 16px; padding: 18px 12px 18px 0; }
  .product-row h3 { font-size: 22px; }
  .product-row p { grid-column: 1; font-size: 13px; }
  .product-row .card-arrow { grid-column: 2; grid-row: 1 / 3; }
}
