/* ═════════════════ TRUEXIT — SECTIONS & CLEAN-UP ═════════════════ */

/* Clean-up: one container width, calmer grain, consistent rhythm */
.hero-inner { width: min(1180px, 100% - 40px); }
.noise { opacity: .025; }
.section { padding-top: 130px; }
.section-head { margin-bottom: 44px; }
.section-head p:not(.kicker) { max-width: 640px; font-size: 17px; }
.manifesto { padding: 130px 0 10px; }
.ca-strip { padding: 22px 0 0; }
svg.defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Shared glass surface for new cards */
.uc-card, .lg, .pillar, .node, .gloss {
  background: linear-gradient(160deg, rgba(22,32,56,.55), rgba(8,12,22,.55));
  border: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.06);
}
.uc-card:hover, .pillar:hover {
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-4px);
  border-color: rgba(61,255,168,.35);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.9), 0 0 50px -20px rgba(61,255,168,.35), inset 0 1px 0 rgba(255,255,255,.08);
}

/* ── Use cases ── */
.uc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.uc-card { position: relative; display: flex; flex-direction: column; padding: 26px 26px 24px; border-radius: 24px; overflow: hidden; }
.uc-card > * { position: relative; z-index: 2; }
.uc-art { width: 100%; height: 92px; margin: 2px 0 22px; overflow: visible; transform: translateZ(30px); filter: drop-shadow(0 6px 18px rgba(61,255,168,.18)); }
.uc-tag { align-self: flex-start; font: 500 11px var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); padding: 5px 10px; border-radius: 999px; border: 1px solid rgba(34,211,238,.3); background: rgba(34,211,238,.06); }
.uc-card h3 { font-size: 22px; margin: 16px 0 8px; letter-spacing: -.03em; }
.uc-card > p { color: var(--muted); font-size: 15px; line-height: 1.6; }
.uc-see { list-style: none; margin: 18px 0 22px; padding: 16px 0 0; border-top: 1px solid rgba(255,255,255,.07); display: grid; gap: 9px; }
.uc-see li { position: relative; padding-left: 24px; font-size: 14px; color: #c8d1e2; line-height: 1.5; }
.uc-see li::before { content: ""; position: absolute; left: 0; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: rgba(61,255,168,.14); box-shadow: inset 0 0 0 1px rgba(61,255,168,.45); }
.uc-see li::after { content: ""; position: absolute; left: 4.5px; top: 7px; width: 5px; height: 7px; border: solid var(--mint); border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); }
.uc-try { margin-top: auto; align-self: flex-start; display: inline-flex; gap: 8px; align-items: center; font-weight: 600; font-size: 14.5px; color: var(--mint); }
.uc-try span { transition: transform .3s var(--ease); }
.uc-try:hover span { transform: translateX(4px); }

/* ── How-to guide ── */
.how { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.how-toggle { display: inline-flex; padding: 5px; margin-bottom: 22px; border-radius: 14px; background: rgba(0,0,0,.35); border: 1px solid var(--line); }
.how-toggle button { height: 38px; padding: 0 18px; border: 0; border-radius: 10px; background: none; color: var(--muted); font-weight: 600; font-size: 14px; cursor: pointer; transition: color .25s, background .25s; }
.how-toggle button.is-on { background: var(--grad); color: #04140c; box-shadow: 0 6px 22px -6px rgba(61,255,168,.55); }
.how-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.how-step { position: relative; width: 100%; display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; padding: 16px 18px; border-radius: 16px; text-align: left; cursor: pointer; color: inherit; font: inherit;
  border: 1px solid rgba(255,255,255,.07); background: rgba(255,255,255,.02); overflow: hidden; transition: border-color .35s, background .35s, box-shadow .35s; }
.how-step:hover { border-color: rgba(255,255,255,.16); }
.how-step.is-on { border-color: rgba(61,255,168,.45); background: linear-gradient(160deg, rgba(61,255,168,.08), rgba(34,211,238,.025)); box-shadow: 0 20px 50px -28px rgba(61,255,168,.5); }
.hs-n { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; font: 500 12.5px var(--f-mono); color: var(--mint); background: rgba(61,255,168,.07); border: 1px solid rgba(61,255,168,.25); }
.how-step.is-on .hs-n { background: var(--mint); color: #04140c; box-shadow: 0 0 18px rgba(61,255,168,.55); }
.hs-t b { display: block; font: 600 17px var(--f-display); letter-spacing: -.02em; padding-top: 7px; }
.hs-d { display: block; max-height: 0; opacity: 0; overflow: hidden; color: var(--muted); font-size: 14.3px; line-height: 1.55; transition: max-height .5s var(--ease), opacity .4s, margin .4s; }
.how-step.is-on .hs-d { max-height: 140px; opacity: 1; margin-top: 6px; }
.hs-bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--grad); }
.how-step.is-on.auto .hs-bar { animation: hsbar var(--dur, 4800ms) linear forwards; }
@keyframes hsbar { to { width: 100%; } }
.how-cta { margin-top: 24px; }

.how-right { perspective: 1500px; }
.mock { position: relative; border-radius: 22px; background: linear-gradient(170deg, rgba(20,30,52,.88), rgba(6,9,18,.94)); border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 60px 120px -40px rgba(0,0,0,.9), 0 0 90px -30px rgba(61,255,168,.28), inset 0 1px 0 rgba(255,255,255,.07);
  transform: rotateY(-11deg) rotateX(7deg); transform-style: preserve-3d; transition: transform .9s cubic-bezier(.2,.8,.2,1); }
.how-right:hover .mock { transform: rotateY(-4deg) rotateX(3deg); }
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 14px 18px; border-bottom: 1px solid rgba(255,255,255,.07); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.14); }
.mock-bar i:first-child { background: rgba(255,95,120,.7); } .mock-bar i:nth-child(2) { background: rgba(255,190,85,.7); } .mock-bar i:nth-child(3) { background: rgba(61,255,168,.7); }
.mock-bar span { margin-left: 10px; font: 500 12px var(--f-mono); color: var(--dim); }
.mock-body { padding: 20px; display: grid; gap: 12px; transform-style: preserve-3d; }
.mock-part { position: relative; padding: 12px; border-radius: 14px; border: 1px dashed transparent; opacity: .38; transition: opacity .5s, transform .6s cubic-bezier(.2,.8,.2,1), border-color .5s, background .5s, box-shadow .5s; }
.mock-part.is-on { opacity: 1; border-color: rgba(61,255,168,.55); background: rgba(61,255,168,.045); transform: translateZ(46px) scale(1.015);
  box-shadow: 0 0 0 4px rgba(61,255,168,.06), 0 24px 60px -24px rgba(61,255,168,.5); }
.mp-label { display: block; margin-bottom: 7px; font-size: 11.5px; font-weight: 600; color: var(--muted); }
.mp-input { display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 14px; border-radius: 12px; background: rgba(0,0,0,.4); border: 1px solid rgba(255,255,255,.12); }
.caret { width: 2px; height: 18px; background: var(--mint); animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.sk { display: block; height: 10px; border-radius: 6px; background: linear-gradient(90deg, rgba(255,255,255,.13), rgba(255,255,255,.05)); }
.w30 { width: 30%; } .w40 { width: 40%; } .w50 { width: 50%; } .w60 { width: 60%; } .w70 { width: 70%; }
.sk.g { background: linear-gradient(90deg, rgba(61,255,168,.65), rgba(34,211,238,.3)); }
.sk.r { background: linear-gradient(90deg, rgba(255,95,120,.65), rgba(255,95,120,.25)); }
.mp-row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; align-items: end; }
.mp-pill .sk { width: 100%; height: 38px; border-radius: 10px; background: rgba(0,0,0,.4); border: 1px solid rgba(255,255,255,.12); }
.mp-go { display: grid; place-items: center; height: 38px; padding: 0 14px; border-radius: 10px; background: var(--grad); color: #04140c; font-weight: 700; font-size: 12.5px; white-space: nowrap; }
.mp-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.mp-tiles > div { padding: 10px; border-radius: 10px; background: rgba(0,0,0,.3); border: 1px solid rgba(255,255,255,.07); }
.mp-tiles > div.hi { border-color: rgba(61,255,168,.4); }
.mp-tiles .sk { height: 14px; margin-top: 4px; }
.mp-tiles .mp-label { font-size: 10.5px; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mp-table { display: grid; gap: 7px; }
.mp-tr { display: grid; grid-template-columns: 22px 1fr 1fr auto; gap: 12px; align-items: center; padding: 9px 10px; border-radius: 10px; background: rgba(255,255,255,.02); }
.mp-tr .dot { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(140deg, #1e4a5e, #102030); box-shadow: 0 0 0 1px rgba(255,255,255,.12); }
.mp-tr .badge { font-size: 11px; padding: 3px 9px; }

/* ── Reading your results ── */
.legend { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.lg { padding: 20px; border-radius: 18px; }
.lg b { display: block; margin: 14px 0 5px; font: 600 16px var(--f-display); letter-spacing: -.02em; }
.lg p { color: var(--muted); font-size: 14px; line-height: 1.55; }
.gloss { margin: 16px 0 0; padding: 8px 30px; border-radius: 22px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; }
.gloss div { display: grid; grid-template-columns: 150px 1fr; gap: 18px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.07); }
.gloss div:nth-last-child(-n+2) { border-bottom: 0; }
.gloss dt { font: 600 15.5px var(--f-display); color: #fff; letter-spacing: -.01em; }
.gloss dd { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; }

/* ── Under the hood ── */
.pipe { display: flex; align-items: stretch; }
.node { flex: 1 1 0; min-width: 0; padding: 18px; border-radius: 18px; }
.node .n-ic { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; font: 500 12px var(--f-mono); color: var(--mint); background: rgba(61,255,168,.07); border: 1px solid rgba(61,255,168,.25); }
.node b { display: block; margin-top: 14px; font: 600 16px var(--f-display); letter-spacing: -.02em; }
.node small { display: block; margin-top: 3px; color: var(--muted); font-size: 13px; }
.node.hi { border-color: rgba(61,255,168,.45); background: linear-gradient(160deg, rgba(61,255,168,.12), rgba(34,211,238,.04)); box-shadow: 0 0 60px -20px rgba(61,255,168,.5); }
.node.hi .n-ic { background: var(--mint); color: #04140c; }
.link { flex: 0 0 34px; align-self: center; position: relative; height: 2px; background: rgba(255,255,255,.1); overflow: hidden; }
.link i { position: absolute; top: 0; left: -50%; width: 50%; height: 100%; background: var(--grad); animation: flow 1.6s linear infinite; box-shadow: 0 0 10px rgba(61,255,168,.8); }
@keyframes flow { to { left: 100%; } }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.pillar { position: relative; padding: 26px; border-radius: 22px; overflow: hidden; }
.pillar > * { position: relative; z-index: 2; }
.pillar h3 { font-size: 20px; margin: 18px 0 8px; }
.pillar p { color: var(--muted); font-size: 15px; }
.p-ic { display: block; width: 44px; height: 44px; border-radius: 13px; background: linear-gradient(140deg, rgba(61,255,168,.22), rgba(34,211,238,.08)); border: 1px solid rgba(61,255,168,.3); box-shadow: 0 10px 30px -8px rgba(61,255,168,.45); }
.p-ic::before { content: ""; position: absolute; inset: 11px; background: var(--mint); -webkit-mask: var(--m) center/contain no-repeat; mask: var(--m) center/contain no-repeat; }
.p-ic { position: relative; }
.p1 { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E"); }
.p2 { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l8 3v6c0 5-3.5 8-8 9-4.5-1-8-4-8-9V6z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E"); }
.p3 { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2L4 14h7l-1 8 9-12h-7z'/%3E%3C/svg%3E"); }

/* ── CTA band ── */
.cta-band { padding: 130px 0 10px; }
.cta-inner { position: relative; overflow: hidden; text-align: center; padding: 72px 30px 64px; border-radius: 34px; border: 1px solid rgba(255,255,255,.1);
  background: radial-gradient(ellipse 60% 70% at 50% 0%, rgba(61,255,168,.2), transparent 70%), linear-gradient(180deg, rgba(16,24,42,.75), rgba(6,9,18,.85));
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 60px 120px -50px rgba(0,0,0,.9); }
.cta-inner::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.2px; pointer-events: none;
  background: conic-gradient(from var(--ang), transparent, rgba(61,255,168,.8) 70deg, transparent 140deg, rgba(91,140,255,.6) 250deg, transparent);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: spin 9s linear infinite; }
.cta-inner img { margin: 0 auto 24px; border-radius: 16px; box-shadow: 0 20px 60px -10px rgba(61,255,168,.55); animation: floaty 6s ease-in-out infinite; }
.cta-inner h2 { max-width: 820px; margin: 0 auto; font-size: clamp(34px, 4.8vw, 66px); letter-spacing: -.05em; background: linear-gradient(180deg, #fff 35%, #9aa5bd); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .05em; }
.cta-inner p { margin-top: 14px; color: var(--muted); font-size: 17px; }
.cta-inner .hero-cta { justify-content: center; margin-top: 30px; }

/* ── Responsive ── */
@media (max-width: 1080px) {
  .uc-grid { grid-template-columns: repeat(2, 1fr); }
  .legend { grid-template-columns: repeat(2, 1fr); }
  .gloss { grid-template-columns: 1fr; }
  .gloss div:nth-last-child(2) { border-bottom: 1px solid rgba(255,255,255,.07); }
  .how { grid-template-columns: 1fr; gap: 36px; }
  .mock { transform: rotateX(6deg); }
  .pipe { flex-wrap: wrap; gap: 10px; }
  .pipe .link { display: none; }
  .node { flex: 1 1 30%; }
}
@media (max-width: 760px) {
  .section { padding-top: 96px; }
  .uc-grid, .legend, .pillars { grid-template-columns: 1fr; }
  .gloss { padding: 4px 20px; }
  .gloss div { grid-template-columns: 1fr; gap: 4px; }
  .node { flex: 1 1 100%; }
  .mp-tiles { grid-template-columns: repeat(2, 1fr); }
  .mp-row { grid-template-columns: 1fr 1fr; }
  .mp-go { grid-column: 1 / -1; }
  .how-toggle { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .how-toggle button { padding: 0 8px; }
  .cta-inner { padding: 52px 20px 46px; border-radius: 26px; }
  .cta-inner .hero-cta .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .link i, .caret, .cta-inner img, .cta-inner::before { animation: none; }
}

@media (max-width: 760px) { .hero { padding-top: 38svh; } }
.section-head { max-width: 880px; }
.section-head h2 { font-size: clamp(34px, 4.6vw, 62px); }

/* keep the copy clear of the 3D object on mid-size screens */
@media (min-width: 761px) and (max-width: 1240px) { .hero-copy { max-width: 56%; } .hero-title { font-size: clamp(40px, 5.6vw, 72px); } .hero { padding-top: 96px; } }


/* Official CA: slim bar at the very top of the sticky header */
.ca-bar { border-bottom: 1px solid rgba(61,255,168,.16); background: linear-gradient(90deg, rgba(61,255,168,.09), rgba(34,211,238,.05) 50%, rgba(61,255,168,.09)); }
.ca-bar-inner { display: flex; align-items: center; justify-content: center; gap: 14px; height: 40px; }
.ca-bar .ca-label { font: 600 11.5px var(--f-display); letter-spacing: .16em; text-transform: uppercase; color: var(--mint); white-space: nowrap; }
.ca-bar .ca-value { font: 500 13.5px var(--f-mono); color: #fff; white-space: nowrap; word-break: normal; }
.ca-bar .ca-value.pending { color: var(--muted); }
.ca-bar .ca-short { display: none; font: 500 13px var(--f-mono); color: #fff; white-space: nowrap; }
.ca-copy { height: 26px; padding: 0 12px; border: 0; border-radius: 8px; background: var(--mint); color: #04140c; font: 700 12.5px var(--f-body); cursor: pointer; transition: transform .2s, box-shadow .2s; }
.ca-copy:hover { transform: translateY(-1px); box-shadow: 0 0 18px rgba(61,255,168,.55); }
.ca-copy[disabled] { opacity: .4; cursor: default; transform: none; box-shadow: none; }
html { scroll-padding-top: 124px; }
@media (max-width: 760px) {
  .ca-bar-inner { gap: 10px; height: 38px; width: calc(100% - 24px); }
  .ca-bar .ca-label { font-size: 10.5px; letter-spacing: .12em; }
  .ca-bar .ca-value { display: none; }
  .ca-bar .ca-short:not(:empty) { display: inline; }
  .ca-bar .ca-short:empty + .ca-copy { display: none; }
  .nav { top: 108px; }
}
