/* NHZ Gateway public site: product showcase and landing sections (original design). */
.hero2 { padding: 76px 0 0; text-align: center; position: relative; overflow: hidden;
  background: radial-gradient(900px 420px at 50% -8%, var(--brand-soft), transparent 70%), radial-gradient(600px 300px at 88% 18%, var(--accent-soft), transparent 70%); }
.hero2 h1 { font-size: clamp(38px, 5.6vw, 66px); letter-spacing: -.04em; margin: 18px auto 18px; max-width: 900px; line-height: 1.06; }
.hero2 h1 em { font-style: normal; background: linear-gradient(90deg, var(--brand), #2a8db3 60%, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero2 .lead { font-size: 19px; color: var(--ink-2); max-width: 680px; margin: 0 auto 28px; }
.hero2 .ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero2 .note { justify-content: center; display: flex; gap: 20px; flex-wrap: wrap; margin-top: 18px; font-size: 14px; color: var(--muted); }
.hero2 .note span { display: inline-flex; gap: 6px; align-items: center; } .hero2 .note .ico { color: var(--ok); }

/* ---- showcase frame ---- */
.show { max-width: 1120px; margin: 52px auto 0; text-align: left; position: relative; }
.show::before { content: ""; position: absolute; inset: 40px -40px -40px; background: linear-gradient(120deg, rgba(23,96,122,.18), rgba(232,144,42,.14)); filter: blur(60px); z-index: 0; border-radius: 40px; }
.win { position: relative; z-index: 1; background: var(--panel); border: 1px solid var(--line); border-radius: 18px 18px 0 0; box-shadow: 0 40px 80px -30px rgba(15,37,48,.35); overflow: hidden; }
.win-bar { display: flex; align-items: center; gap: 14px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--panel-2); }
.win-bar .dots { display: flex; gap: 6px; } .win-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.win-bar .url { flex: 1; max-width: 360px; margin: 0 auto; text-align: center; font-size: 12px; color: var(--muted); background: var(--panel); border: 1px solid var(--line); border-radius: 7px; padding: 3px 10px; }
.tabs { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.tabs button { background: none; border: 0; border-bottom: 2px solid transparent; padding: 14px 10px; font: 600 14.5px var(--font); color: var(--muted); cursor: pointer; display: flex; gap: 8px; align-items: center; justify-content: center; position: relative; }
.tabs button:hover { color: var(--ink); }
.tabs button.on { color: var(--brand); border-bottom-color: var(--brand); background: var(--brand-soft); }
.tabs button .bar { position: absolute; left: 0; bottom: -2px; height: 2px; background: var(--accent); width: 0; }
.tabs button.on .bar { animation: tabbar 7s linear forwards; }
.show.paused .tabs button .bar { display: none; }
@keyframes tabbar { to { width: 100%; } }
.screens { position: relative; height: 470px; }
.screen { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .35s ease; display: grid; }
.screen.on { opacity: 1; visibility: visible; }
.mini-side { border-right: 1px solid var(--line); padding: 14px 12px; display: flex; flex-direction: column; gap: 3px; background: var(--panel); }
.mini-side span { font-size: 12.5px; color: var(--ink-2); padding: 6px 9px; border-radius: 7px; display: flex; gap: 8px; align-items: center; }
.mini-side span.on { background: var(--brand-soft); color: var(--brand); font-weight: 600; }
.mini-side .lbl { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 10px 9px 3px; }
.pane { padding: 18px 20px; overflow: hidden; background: var(--bg); }
.pane h4 { margin: 0 0 12px; font: 700 16px var(--display); }
.m-card { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.m-label { font-size: 11px; font-weight: 600; color: var(--ink-2); margin-bottom: 4px; }
.m-input { border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; font-size: 12.5px; background: var(--panel); color: var(--ink); margin-bottom: 10px; min-height: 34px; }
.m-input.area { min-height: 64px; line-height: 1.45; }
.m-input .var { background: var(--accent-soft); color: var(--accent); border-radius: 4px; padding: 0 4px; font-weight: 600; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.chip { font-size: 11.5px; padding: 3px 9px; border-radius: 99px; border: 1px solid var(--line); background: var(--panel); color: var(--ink-2); }
.chip.on { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.m-btn { display: inline-flex; gap: 6px; align-items: center; background: var(--brand); color: var(--brand-ink); border-radius: 8px; padding: 7px 12px; font-size: 12.5px; font-weight: 600; }
.m-stat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.m-stat div { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; font-size: 11px; color: var(--muted); }
.m-stat b { display: block; font: 700 19px var(--display); color: var(--ink); }
.m-prog { height: 9px; border-radius: 99px; background: var(--panel-2); display: flex; overflow: hidden; margin: 6px 0 8px; }
.m-prog i { display: block; height: 100%; }
.screen.on .grow { animation: grow 2.4s ease-out both; }
@keyframes grow { from { width: 0; } }
.m-row { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.m-row:last-child { border-bottom: 0; }
.m-pill { font-size: 10.5px; font-weight: 600; padding: 2px 8px; border-radius: 99px; }
.m-pill.ok { background: var(--ok-soft); color: var(--ok); } .m-pill.sent { background: var(--info-soft); color: #1e40af; } .m-pill.wait { background: var(--warn-soft); color: var(--warn); }

/* flows mock */
.canvas-m { position: relative; height: 100%; border-radius: 12px; border: 1px solid var(--line); background-color: var(--panel); background-image: radial-gradient(var(--line) 1px, transparent 1px); background-size: 16px 16px; overflow: hidden; }
.canvas-m { overflow-x: auto; }
.canvas-inner { position: relative; min-width: 860px; height: 100%; }
.canvas-m svg.links { position: absolute; inset: 0; width: 100%; height: 100%; }
.canvas-m svg.links path { fill: none; stroke: var(--brand); stroke-width: 2.2; stroke-dasharray: 6 6; }
.screen.on .canvas-m svg.links path { animation: dash 1.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -24; } }
.fnode { position: absolute; width: 15.5%; min-width: 132px; background: var(--panel); border: 1px solid var(--line); border-radius: 11px; padding: 8px 10px; box-shadow: 0 4px 14px rgba(15,37,48,.08); font-size: 12px; }
.fnode b { display: flex; gap: 6px; align-items: center; font-size: 12.5px; }
.fnode b .ico { color: var(--brand); }
.fnode small { display: block; color: var(--muted); margin-top: 3px; font-size: 11.5px; }
.fnode.trig { border-top: 3px solid var(--accent); }
.fnode.logic b .ico { color: var(--accent); }
.fnode .ports { position: absolute; right: 9px; bottom: 6px; font-size: 10px; color: var(--muted); text-align: right; line-height: 1.5; }
.screen.on .fnode { animation: pop .5s ease both; }
.screen.on .fnode:nth-child(3) { animation-delay: .15s } .screen.on .fnode:nth-child(4) { animation-delay: .3s } .screen.on .fnode:nth-child(5) { animation-delay: .45s }
.screen.on .fnode:nth-child(6) { animation-delay: .6s } .screen.on .fnode:nth-child(7) { animation-delay: .75s }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.97); } }
.palette-m span { font-size: 12px; }

/* inbox mock */
.thread-m { display: flex; flex-direction: column; gap: 8px; }
.b { max-width: 78%; padding: 8px 11px; border-radius: 12px; font-size: 12.5px; line-height: 1.4; }
.b.in { background: var(--panel); border: 1px solid var(--line); align-self: flex-start; border-bottom-left-radius: 3px; }
.b.out { background: var(--brand); color: var(--brand-ink); align-self: flex-end; border-bottom-right-radius: 3px; }
.b small { display: block; opacity: .7; font-size: 10px; margin-top: 2px; }
.b.note { background: var(--accent-soft); color: var(--ink); align-self: center; font-size: 11.5px; max-width: 90%; border-radius: 8px; }
.screen.on .b { animation: pop .4s ease both; }
.screen.on .b:nth-child(2) { animation-delay: .5s } .screen.on .b:nth-child(3) { animation-delay: 1s } .screen.on .b:nth-child(4) { animation-delay: 1.5s } .screen.on .b:nth-child(5) { animation-delay: 2s }
.conv { padding: 9px 10px; border-radius: 9px; font-size: 12px; display: block; }
.conv.on { background: var(--brand-soft); }
.conv b { display: flex; justify-content: space-between; font-size: 12.5px; }
.conv small { color: var(--muted); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.typing { display: inline-flex; gap: 3px; } .typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s } .typing i:nth-child(3) { animation-delay: .4s }
@keyframes blink { 50% { opacity: .2; } }

/* phones mock */
.phone-card { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 12px; display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.phone-card .pic { width: 40px; height: 64px; border-radius: 9px; background: #0f2530; position: relative; flex: none; }
.phone-card .pic::after { content: ""; position: absolute; inset: 5px 4px 9px; background: #e9f2f5; border-radius: 4px; }
.sim { font-size: 10.5px; padding: 2px 7px; border-radius: 6px; background: var(--panel-2); border: 1px solid var(--line); margin-right: 4px; }
.log-line { font-family: ui-monospace, Menlo, monospace; font-size: 11.5px; padding: 5px 0; border-bottom: 1px dashed var(--line); color: var(--ink-2); display: flex; gap: 8px; }
.log-line .t { color: var(--muted); }
.screen.on .log-line { animation: pop .35s ease both; }
.screen.on .log-line:nth-child(2) { animation-delay: .6s } .screen.on .log-line:nth-child(3) { animation-delay: 1.2s } .screen.on .log-line:nth-child(4) { animation-delay: 1.8s } .screen.on .log-line:nth-child(5) { animation-delay: 2.4s }

/* sections */
.trust { display: flex; justify-content: center; gap: 34px; flex-wrap: wrap; padding: 34px 0 10px; color: var(--muted); font-size: 14px; }
.trust span { display: inline-flex; gap: 8px; align-items: center; }
.trust .ico { color: var(--brand); }
.channels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.channel { border: 1px solid var(--line); border-radius: 18px; padding: 22px; background: var(--panel); position: relative; overflow: hidden; }
.channel .badge2 { display: inline-block; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 99px; background: var(--brand-soft); color: var(--brand); margin-bottom: 12px; }
.channel h3 { font-size: 18px; margin-bottom: 6px; } .channel p { margin: 0; color: var(--ink-2); font-size: 14.5px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split .visual-box { border: 1px solid var(--line); border-radius: 20px; background: var(--panel); padding: 18px; box-shadow: 0 30px 60px -30px rgba(15,37,48,.3); height: 360px; position: relative; }
.plan.pop { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft), 0 30px 60px -30px rgba(15,37,48,.35); position: relative; }
.plan .ribbon { position: absolute; top: -12px; right: 18px; background: var(--accent); color: #fff; font-size: 11.5px; font-weight: 700; padding: 3px 10px; border-radius: 99px; }

@media (max-width: 960px) {
  .screens { height: 520px; }
  .mini-side { display: none; }
  .screen { grid-template-columns: 1fr !important; }
  .channels { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .tabs button { font-size: 13px; padding: 12px 6px; }
}
@media (max-width: 640px) {
  .channels { grid-template-columns: 1fr; }
  .tabs button span.t { display: none; }
  .tabs button.on span.t { display: inline; }
  .screens { height: 560px; }
  .pane { padding: 14px; }
  .show::before { display: none; }
}
@media (prefers-reduced-motion: reduce) { .screen, .screen * { animation: none !important; transition: none !important; } }
.canvas-m.live svg.links path { animation: dash 1.2s linear infinite; }
@media (prefers-reduced-motion: reduce) { .canvas-m.live svg.links path { animation: none; } }
.mini-side .conv { display: block; }
.canvas-m svg.links circle.port { fill: var(--brand); stroke: var(--panel); stroke-width: 2; }
.canvas-m svg.links text.plabel { font: 600 10.5px var(--font); fill: var(--muted); }
.site-nav .links a { white-space: nowrap; }
@media (max-width: 960px) {
  .side-detail { display: none; }
  .site-nav .links a[href$="#how"], .site-nav .links a[href$="/developers"] { display: none; }
}
