/* ── Technology Tab ──────────────────────── */
#tab-technology { flex-direction:column; height:calc(100vh - 56px); overflow-y:auto; }
.tech-hero { background:var(--navy); padding:48px 72px; flex-shrink:0; display:flex; align-items:center; justify-content:space-between; }
.tech-hero-text h1 { font-size:34px; font-weight:800; color:#fff; margin-bottom:10px; line-height:1.2; }
.tech-hero-text h1 em { font-style:normal; color:var(--teal); }
.tech-hero-text p { font-size:14px; color:rgba(255,255,255,.6); max-width:640px; line-height:1.68; }
/* Tech hero animation */
.tech-hero-anim { display:flex; flex-direction:column; align-items:center; gap:10px; flex-shrink:0; }
.tha-label { font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.1em; color:#fff; background:rgba(255,255,255,.1); padding:6px 14px; border-radius:20px; white-space:nowrap; }
.tha-arrows { display:flex; gap:14px; }
.tha-col { display:flex; flex-direction:column; align-items:center; gap:5px; }
.tha-chev { width:11px; height:11px; border-right:2.5px solid var(--teal); border-bottom:2.5px solid var(--teal); opacity:.15; }
.tha-down .tha-chev { transform:rotate(45deg); animation:tha-flow 1.4s ease-in-out infinite; }
.tha-up   .tha-chev { transform:rotate(225deg); animation:tha-flow 1.4s ease-in-out infinite; }
.tha-down .tha-chev:nth-child(1) { animation-delay:0s; }
.tha-down .tha-chev:nth-child(2) { animation-delay:.2s; }
.tha-down .tha-chev:nth-child(3) { animation-delay:.4s; }
.tha-up   .tha-chev:nth-child(3) { animation-delay:0s; }
.tha-up   .tha-chev:nth-child(2) { animation-delay:.2s; }
.tha-up   .tha-chev:nth-child(1) { animation-delay:.4s; }
@keyframes tha-flow {
  0%,100% { opacity:.12; }
  50%      { opacity:1; }
}

.tech-sec { padding:48px 72px; }
.tech-sec.alt { background:#fff; }
.tech-lbl { font-size:10.5px; font-weight:700; text-transform:uppercase; letter-spacing:.1em; color:var(--teal); margin-bottom:8px; }
.tech-ttl { font-size:24px; font-weight:800; color:var(--navy); margin-bottom:8px; }
.tech-sub { font-size:13px; color:var(--g2); line-height:1.65; margin-bottom:28px; max-width:720px; }
.schematic-wrap {
  background:var(--navy); border-radius:16px; padding:28px 20px;
  overflow:hidden;
}
.stake-hover-wrap { position:relative; display:inline-block; width:100%; }
.stake-base { width:100%; height:auto; display:block; }
.hotspot-layer { position:absolute; inset:0; }
.hotspot {
  position:absolute; transform:translate(-50%,-50%);
  z-index:5; cursor:default;
}
.hs-dot {
  width:14px; height:14px; border-radius:50%;
  background:var(--teal);
  border:2px solid rgba(255,255,255,.85);
  box-shadow:0 2px 8px rgba(0,0,0,.4);
  transition:transform .15s, background .15s;
}
.hotspot:hover .hs-dot { transform:scale(1.25); background:var(--navy); }
.hs-tip {
  position:absolute; left:50%; bottom:calc(100% + 10px);
  transform:translateX(-50%);
  background:#1a2e44; color:#e2e8f0;
  border:1px solid var(--teal); border-radius:8px;
  padding:10px 13px; width:210px;
  font-size:11.5px; line-height:1.55; font-family:'Segoe UI',sans-serif;
  opacity:0; pointer-events:none; transition:opacity .2s;
  z-index:20; box-shadow:0 4px 16px rgba(0,0,0,.5);
  white-space:normal;
}
.hs-tip::after {
  content:''; position:absolute; top:100%; left:50%;
  transform:translateX(-50%);
  border:6px solid transparent; border-top-color:#1a2e44;
}
.hs-tip-right { left:calc(100% + 10px); bottom:auto; top:50%; transform:translateY(-50%); }
.hs-tip-right::after { top:50%; left:auto; right:100%; transform:translateY(-50%);
  border-top-color:transparent; border-right-color:#1a2e44; }
.hs-tip-left { left:auto; right:calc(100% + 10px); bottom:auto; top:50%; transform:translateY(-50%); }
.hs-tip-left::after { top:50%; left:100%; transform:translateY(-50%);
  border-top-color:transparent; border-left-color:#1a2e44; }
.hotspot:hover .hs-tip { opacity:1; }
.proto-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.proto-card { background:var(--cream); border-radius:14px; overflow:hidden; }
.proto-img { width:100%; height:260px; object-fit:contain; display:block; }
.proto-body { padding:16px; }
.proto-caption { font-size:13px; font-weight:700; color:var(--navy); margin-bottom:5px; }
.proto-desc { font-size:11.5px; color:var(--g2); line-height:1.55; }
.ph-intro { display:flex; gap:24px; align-items:flex-start; margin-bottom:18px; }
.ph-intro-text { flex:1; min-width:0; }
.ph-intro-img { flex-shrink:0; width:fit-content; }
.ph-intro-img img { height:210px; width:auto; border-radius:10px; box-shadow:0 4px 16px rgba(0,0,0,.18); display:block; object-fit:contain; }
.ph-intro-cap { font-size:9.5px; color:var(--g3); margin-top:6px; font-weight:600; width:100%; }
.ph-card { background:#fff; border-radius:var(--r); padding:22px 24px; box-shadow:var(--sh); }
.ph-hdr { margin-bottom:16px; }
.ph-title { font-size:14px; font-weight:700; color:var(--g1); }
.ph-sub { font-size:11px; color:var(--g3); margin-top:3px; }
.ph-body { height:280px; position:relative; }
.ph-body canvas { position:absolute; inset:0; }
.specs-wrap { overflow-x:auto; }
.specs-table { width:100%; border-collapse:collapse; font-size:12.5px; }
.specs-table th { text-align:left; padding:10px 16px; background:var(--navy); color:#fff; font-weight:600; font-size:10.5px; text-transform:uppercase; letter-spacing:.06em; }
.specs-table th:first-child { border-radius:8px 0 0 0; }
.specs-table th:last-child { border-radius:0 8px 0 0; }
.specs-table td { padding:10px 16px; border-bottom:1px solid var(--border); color:var(--g2); vertical-align:top; }
.specs-table tr:last-child td { border-bottom:none; }
.specs-table tr:nth-child(even) td { background:rgba(0,0,0,.018); }
.specs-table td:first-child { font-weight:700; color:var(--g1); white-space:nowrap; }
.spec-pill { display:inline-block; background:var(--teal); color:#fff; font-size:9px; font-weight:700; padding:1px 7px; border-radius:8px; margin-left:5px; vertical-align:middle; }

@media (max-width: 768px) {
  #tab-technology { height:auto; }
  .tech-hero { padding:32px 20px; display:block; }
  .tech-hero-text h1 { font-size:24px; }
  .tech-hero-anim { display:none; }
  .tech-hero .biz-kpis { display:none; }
  .tech-sec { padding:32px 20px; }
  .proto-grid { grid-template-columns:1fr; }
  .proto-img { height:auto; }
  .schematic-wrap { padding:16px 10px; overflow:visible; }
  .specs-wrap { overflow-x:auto; }
  .ph-intro { flex-wrap:wrap; gap:16px; }
  .ph-intro-text { flex:0 0 100%; }
  .ph-intro-img { flex:1; }
  .ph-intro-img img { height:auto; width:100%; }
  .ph-intro-cap { max-width:100%; }
  .hotspot:hover .hs-tip { opacity:0; }         /* suppress CSS hover on touch */
  .hotspot.hs-active .hs-tip { opacity:1; }     /* show on tap instead */

  /* All tips display above the dot on mobile to avoid off-screen overflow */
  .hs-tip, .hs-tip-right, .hs-tip-left {
    left:50%; right:auto; bottom:calc(100% + 10px); top:auto;
    transform:translateX(-50%);
    max-width:min(210px, 75vw);
  }
  .hs-tip::after, .hs-tip-right::after, .hs-tip-left::after {
    top:100%; left:50%; right:auto;
    transform:translateX(-50%);
    border-top-color:#1a2e44;
    border-right-color:transparent;
    border-left-color:transparent;
  }
}
