/* =====================================================================
   Our Technology — creative redesign (2026-11-30)
   ===================================================================== */
:root { --tc-ink: #070d1a; --tc-ink-2: #0d1628; --tc-blue-l: #60a5fa; --tc-green-l: #4ade80; --tc-ease: cubic-bezier(.22,1,.36,1); }
body { overflow-x: clip; }

.tc-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 1001; pointer-events: none; }
.tc-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--green)); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

.tc-section { position: relative; padding: 120px 0; }
.tc-kicker { display: inline-block; margin-bottom: 18px; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.tc-kicker--green { color: #16a34a; }
.tc-grad { background: linear-gradient(90deg, var(--blue), var(--green)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tc-head { max-width: 760px; margin: 0 auto 72px; text-align: center; }
.tc-head h2 { font-size: clamp(32px, 4.4vw, 56px); line-height: 1.04; letter-spacing: -.04em; color: var(--navy); margin-bottom: 18px; }
.tc-head p { color: var(--text); font-size: 17px; line-height: 1.65; max-width: 600px; margin: 0 auto; }

.tc-btn { display: inline-flex; align-items: center; gap: 9px; height: 56px; padding: 0 28px; border-radius: 999px; font: 600 15.5px 'Inter', sans-serif; transition: box-shadow .3s, background .3s, border-color .3s; will-change: transform; }
.tc-btn svg { width: 17px; height: 17px; }
.tc-btn--light { background: #fff; color: var(--navy); box-shadow: 0 14px 40px rgba(0,0,0,.3); }
.tc-btn--light:hover { box-shadow: 0 16px 50px rgba(96,165,250,.45); }
.tc-btn--ghost { color: #fff; border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.06); backdrop-filter: blur(8px); }
.tc-btn--ghost:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.55); }

.tc-eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; margin-bottom: 26px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.07); backdrop-filter: blur(10px); font-size: 13px; font-weight: 600; color: rgba(255,255,255,.92); }
.tc-eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(34,197,94,.25); animation: tcPulseDot 2s ease-in-out infinite; }
@keyframes tcPulseDot { 50% { box-shadow: 0 0 0 8px rgba(34,197,94,0); } }

[data-tc-reveal] { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--tc-ease), transform .9s var(--tc-ease); }
[data-tc-reveal].is-in { opacity: 1; transform: none; }

/* =====================================================================
   HERO
   ===================================================================== */
.tc-hero { position: relative; isolation: isolate; overflow: hidden; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 140px 0 90px; color: #fff; background: var(--tc-ink); }
.tc-hero-bg { position: absolute; inset: -6% 0 0 0; z-index: -4; background: url("images/tech-hero.jpg") center 30% / cover no-repeat; transform: translate3d(0, var(--bg-shift, 0px), 0) scale(1.08); animation: tcBgIn 2.2s var(--tc-ease) both; }
@keyframes tcBgIn { from { opacity: 0; transform: scale(1.2); filter: blur(10px) saturate(0); } }
.tc-hero-overlay { position: absolute; inset: 0; z-index: -3; background: linear-gradient(100deg, rgba(7,13,26,.96) 0%, rgba(7,13,26,.86) 45%, rgba(7,13,26,.6) 100%), linear-gradient(0deg, rgba(7,13,26,1) 0%, transparent 30%); }
.tc-hero-grid-lines { position: absolute; inset: 0; z-index: -2; opacity: .45; background-image: linear-gradient(rgba(96,165,250,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(96,165,250,.08) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse at 72% 50%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse at 72% 50%, #000 10%, transparent 70%); }
.tc-hero-scan { position: absolute; left: 0; right: 0; top: 0; height: 160px; z-index: -2; pointer-events: none; background: linear-gradient(180deg, transparent, rgba(74,222,128,.04) 70%, rgba(74,222,128,.18) 99%, transparent); animation: tcScan 6s linear infinite; }
@keyframes tcScan { from { transform: translateY(-160px); } to { transform: translateY(110vh); } }
.tc-hero-light { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(560px circle at var(--lx, 70%) var(--ly, 45%), rgba(37,99,235,.22), transparent 60%); }

.tc-hero-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; width: 100%; }
.tc-hero h1 { font-size: clamp(42px, 5.8vw, 84px); line-height: .98; letter-spacing: -.045em; color: #fff; max-width: 13ch; margin-bottom: 26px; }
.tc-hero h1 em { font-style: normal; }
.tc-hero h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.tc-hero h1 .w > span { display: inline-block; transform: translateY(110%); animation: tcWord 1s var(--tc-ease) forwards; animation-delay: calc(.3s + var(--i) * .07s); }
.tc-hero h1 em .w > span { background: linear-gradient(90deg, var(--tc-blue-l), var(--tc-green-l)); -webkit-background-clip: text; background-clip: text; color: transparent; }
@keyframes tcWord { to { transform: none; } }
.tc-hero-sub { max-width: 540px; margin-bottom: 36px; font-size: 18.5px; line-height: 1.65; color: rgba(255,255,255,.75); animation: tcUp .9s .85s var(--tc-ease) both; }
.tc-hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; animation: tcUp .9s 1s var(--tc-ease) both; }
.tc-hero-stats { display: flex; gap: 0; margin-top: 44px; animation: tcUp .9s 1.15s var(--tc-ease) both; }
.tc-hero-stats > div { padding: 0 28px; border-left: 1px solid rgba(255,255,255,.14); }
.tc-hero-stats > div:first-child { padding-left: 0; border-left: 0; }
.tc-hero-stats strong { display: block; font: 800 34px/1 'Manrope', sans-serif; letter-spacing: -.03em; background: linear-gradient(180deg, #fff, rgba(255,255,255,.6)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tc-hero-stats span { display: block; margin-top: 8px; font-size: 13px; color: rgba(255,255,255,.6); }
@keyframes tcUp { from { opacity: 0; transform: translateY(24px); } }

/* Network diagram */
.tc-net { position: relative; aspect-ratio: 1; width: 100%; max-width: 540px; margin-left: auto; transform: rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg)); transform-style: preserve-3d; transition: transform .3s ease-out; animation: tcUp 1.2s .4s var(--tc-ease) both; }
.tc-net-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.tc-net-ring { fill: none; stroke: rgba(255,255,255,.12); stroke-dasharray: 3 8; animation: tcRingSpin 60s linear infinite; transform-origin: 250px 250px; }
.tc-net-ring--inner { stroke: rgba(96,165,250,.2); stroke-dasharray: none; animation: none; }
@keyframes tcRingSpin { to { transform: rotate(360deg); } }
.tc-net-path { fill: none; stroke: url(#tcLine); stroke-width: 1.6; stroke-dasharray: 5 6; opacity: .7; animation: tcDash 1.4s linear infinite; }
@keyframes tcDash { to { stroke-dashoffset: -22; } }
.tc-packet { fill: var(--tc-blue-l); filter: drop-shadow(0 0 6px var(--tc-blue-l)); }
.tc-packet--g { fill: var(--tc-green-l); filter: drop-shadow(0 0 6px var(--tc-green-l)); }

.tc-core { position: absolute; top: 50%; left: 50%; width: 36%; aspect-ratio: 1; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center; border-radius: 50%; background: radial-gradient(circle at 50% 30%, #12234a, var(--tc-ink)); border: 1px solid rgba(96,165,250,.35); box-shadow: 0 0 0 10px rgba(37,99,235,.08), 0 0 80px rgba(37,99,235,.45); }
.tc-core-pulse { position: absolute; inset: -2px; border-radius: 50%; border: 2px solid rgba(96,165,250,.6); animation: tcCorePulse 2.4s ease-out infinite; }
@keyframes tcCorePulse { from { transform: scale(1); opacity: .9; } to { transform: scale(1.6); opacity: 0; } }
.tc-core-logo { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 6px; border-radius: 14px; background: linear-gradient(135deg, var(--blue), var(--green)); font: 800 20px 'Manrope'; color: #fff; box-shadow: 0 10px 30px rgba(37,99,235,.5); }
.tc-core strong { font: 700 15px 'Manrope'; }
.tc-core small { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: rgba(255,255,255,.6); }
.tc-core small i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: tcBlink 1.4s infinite; }
@keyframes tcBlink { 50% { opacity: .2; } }

.tc-node { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 16px; white-space: nowrap; background: rgba(13,22,40,.72); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(12px); box-shadow: 0 18px 40px rgba(0,0,0,.4); transform: translate(-50%, -50%) translate3d(var(--px, 0), var(--py, 0), 0); transition: transform .3s ease-out, border-color .3s; }
.tc-node:hover { border-color: rgba(74,222,128,.6); }
.tc-node > span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: rgba(37,99,235,.2); color: var(--tc-blue-l); }
.tc-node:nth-of-type(even) > span { background: rgba(34,197,94,.16); color: var(--tc-green-l); }
.tc-node > span svg { width: 18px; height: 18px; }
.tc-node strong { display: block; font-size: 14px; color: #fff; }
.tc-node small { display: block; font-size: 11.5px; color: rgba(255,255,255,.55); }
.tc-node--1 { top: 21%; left: 19%; animation: tcBob 6s ease-in-out infinite; }
.tc-node--2 { top: 23%; left: 81%; animation: tcBob 7s -2s ease-in-out infinite; }
.tc-node--3 { top: 79%; left: 18%; animation: tcBob 6.5s -3s ease-in-out infinite; }
.tc-node--4 { top: 78%; left: 82%; animation: tcBob 7.5s -1s ease-in-out infinite; }
@keyframes tcBob { 50% { margin-top: -12px; } }

/* =====================================================================
   DATA LOOP
   ===================================================================== */
.tc-loop { position: relative; z-index: 2; margin-top: -50px; }
.tc-loop-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 28px; border-radius: 22px; background: rgba(13,22,40,.92); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(16px); box-shadow: 0 30px 60px rgba(7,13,26,.35); color: #fff; max-width: 1176px; }
.tc-loop-label { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--tc-green-l); white-space: nowrap; }
.tc-loop-label svg { width: 16px; height: 16px; animation: tcRingSpin 4s linear infinite; }
.tc-loop-chain { display: flex; align-items: center; gap: 10px; flex: 1; justify-content: flex-end; }
.tc-loop-item { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.12); font-size: 14px; font-weight: 600; color: rgba(255,255,255,.7); animation: tcLoopLit 4s calc(var(--n) * 1s) infinite; }
.tc-loop-item svg { width: 16px; height: 16px; }
@keyframes tcLoopLit { 0%, 30%, 100% { background: transparent; color: rgba(255,255,255,.7); border-color: rgba(255,255,255,.12); box-shadow: none; } 5%, 22% { background: rgba(34,197,94,.16); color: #fff; border-color: rgba(74,222,128,.6); box-shadow: 0 0 24px rgba(34,197,94,.25); } }
.tc-loop-link { position: relative; width: 44px; height: 2px; border-radius: 2px; background: rgba(255,255,255,.14); overflow: hidden; }
.tc-loop-link::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, var(--tc-green-l)); transform: translateX(-100%); animation: tcLinkRun 4s calc(var(--n) * 1s + .6s) infinite; }
@keyframes tcLinkRun { 0% { transform: translateX(-100%); } 12%, 100% { transform: translateX(100%); } }

/* =====================================================================
   ARCHITECTURE — sticky isometric stack
   ===================================================================== */
.tc-arch { background: #f8fafc; padding-top: 140px; }
.tc-arch-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; }
.tc-arch-sticky { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px; }
/* ---- 3D layer stack: real slabs with thickness, scenes, links and upright labels ---- */
.tc-iso { position: relative; width: 100%; max-width: 480px; aspect-ratio: 1 / 1.08; perspective: 1800px; perspective-origin: 50% 30%; }
.tc-iso-floor { position: absolute; left: 50%; top: 74%; width: 90%; aspect-ratio: 2 / 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(ellipse, rgba(37,99,235,.22), transparent 65%); filter: blur(10px); }
.tc-iso-scene { position: absolute; inset: 0; transform-style: preserve-3d; animation: tcSceneFloat 7s ease-in-out infinite; }
@keyframes tcSceneFloat { 50% { transform: translateY(-10px); } }

.tc-slab {
  --z: 0px; --lift: 0px; --t: 16px;
  --top: #0b1730; --side-b: #071022; --side-r: #0a1630;
  position: absolute; top: 74%; left: 54%; width: 50%; aspect-ratio: 1;
  transform-style: preserve-3d;
  transform: translate(-50%, -50%) rotateX(58deg) rotateZ(-45deg) translateZ(calc(var(--z) + var(--lift)));
  transition: transform .9s var(--tc-ease);
}
.tc-slab--1 { --z: 0px; }
.tc-slab--2 { --z: 135px; --top: #13104a; --side-b: #0c0a33; --side-r: #110e40; }
.tc-slab--3 { --z: 270px; --top: #eaf6ff; --side-b: #9cc4e8; --side-r: #b9d9f2; }

.tc-slab-top {
  position: absolute; inset: 0; border-radius: 6px; overflow: hidden; background: var(--top);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14);
  transition: box-shadow .6s;
}
.tc-slab-top::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(239,246,255,.72), rgba(236,253,245,.6)); transition: opacity .6s; }
.tc-slab-side { position: absolute; transition: background .6s; }
.tc-slab-side--b { left: 0; top: 100%; width: 100%; height: var(--t); transform-origin: top; transform: rotateX(90deg); background: var(--side-b); }
.tc-slab-side--r { top: 0; right: 100%; width: var(--t); height: 100%; transform-origin: right; transform: rotateY(-90deg); background: var(--side-r); }

/* active layer: lift out, drop the frost, glow */
.tc-iso[data-active="0"] .tc-slab--1,
.tc-iso[data-active="1"] .tc-slab--2,
.tc-iso[data-active="2"] .tc-slab--3 { --lift: 36px; }
.tc-iso[data-active="0"] .tc-slab--1 .tc-slab-top::after,
.tc-iso[data-active="1"] .tc-slab--2 .tc-slab-top::after,
.tc-iso[data-active="2"] .tc-slab--3 .tc-slab-top::after { opacity: 0; }
.tc-iso[data-active="0"] .tc-slab--1 .tc-slab-top,
.tc-iso[data-active="1"] .tc-slab--2 .tc-slab-top,
.tc-iso[data-active="2"] .tc-slab--3 .tc-slab-top { box-shadow: inset 0 0 0 1.5px rgba(74,222,128,.8), 0 0 40px rgba(37,99,235,.55); }
.tc-iso[data-active="2"] .tc-slab--3 .tc-slab-top { box-shadow: inset 0 0 0 1.5px #2563EB, 0 0 40px rgba(37,99,235,.45); }

/* 01 Sense — floor plan */
.tc-plan { position: absolute; inset: 0; background-image: linear-gradient(rgba(96,165,250,.14) 1px, transparent 1px), linear-gradient(90deg, rgba(96,165,250,.14) 1px, transparent 1px); background-size: 10% 10%; }
.tc-room { position: absolute; border: 1.5px solid rgba(96,165,250,.55); border-radius: 3px; background: rgba(37,99,235,.08); }
.tc-sensor { position: absolute; width: 9%; aspect-ratio: 1; margin: -4.5% 0 0 -4.5%; border-radius: 50%; background: #4ade80; box-shadow: 0 0 10px #4ade80; }
.tc-sensor::before, .tc-sensor::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #4ade80; animation: tcRipple 2.4s var(--d, 0s) ease-out infinite; }
.tc-sensor::after { animation-delay: calc(var(--d, 0s) + 1.2s); }
@keyframes tcRipple { from { transform: scale(1); opacity: .9; } to { transform: scale(4); opacity: 0; } }
.tc-sensor--hub { width: 12%; margin: -6% 0 0 -6%; background: #60a5fa; box-shadow: 0 0 14px #60a5fa; }
.tc-sensor--hub::before, .tc-sensor--hub::after { border-color: #60a5fa; }

/* 02 Understand — neural network + chat bubbles */
.tc-neural { position: absolute; inset: 6%; width: 88%; height: 88%; overflow: visible; }
.tc-neural-links path { fill: none; stroke: rgba(167,139,250,.6); stroke-width: 1; stroke-dasharray: 3 3; animation: tcDash 1.2s linear infinite; }
.tc-neural circle { fill: #a78bfa; filter: drop-shadow(0 0 3px #a78bfa); }
.tc-neural .tc-neural-core { fill: #60a5fa; filter: drop-shadow(0 0 6px #60a5fa); animation: tcCoreBeat 1.6s ease-in-out infinite; transform-origin: 50px 50px; }
@keyframes tcCoreBeat { 50% { transform: scale(1.25); } }
.tc-bubble { position: absolute; height: 12%; border-radius: 999px; }
.tc-bubble--a { left: 8%; bottom: 8%; width: 44%; background: #22c55e; box-shadow: 0 0 14px rgba(34,197,94,.6); animation: tcBubble 4s ease-in-out infinite; }
.tc-bubble--b { right: 8%; top: 36%; width: 32%; background: rgba(255,255,255,.85); animation: tcBubble 4s 2s ease-in-out infinite; }
@keyframes tcBubble { 0%, 100% { opacity: .35; } 40%, 60% { opacity: 1; } }

/* 03 Decide — grid, pins and extruded bars */
.tc-decide-grid { position: absolute; inset: 0; background: linear-gradient(135deg, #f0f9ff, #dcfce7); background-image: linear-gradient(rgba(37,99,235,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(37,99,235,.12) 1px, transparent 1px), linear-gradient(135deg, #eff6ff, #dcfce7); background-size: 12.5% 12.5%, 12.5% 12.5%, auto; }
.tc-pin { position: absolute; width: 8%; aspect-ratio: 1; margin: -4% 0 0 -4%; border-radius: 50%; background: #2563EB; box-shadow: 0 0 0 4px rgba(37,99,235,.2); }
.tc-bars3d { position: absolute; inset: 0; transform-style: preserve-3d; }
.tc-bars3d i {
  position: absolute; left: var(--x); top: 62%; width: 8%; height: var(--h);
  transform-origin: 50% 100%; transform: translateY(-100%) rotateX(-90deg) scaleY(var(--grow, .05));
  background: linear-gradient(180deg, #60a5fa, #2563EB); border-radius: 3px 3px 0 0;
  box-shadow: inset -3px 0 0 rgba(0,0,0,.12);
  transition: transform 1s var(--tc-ease);
}
.tc-bars3d i.hi { background: linear-gradient(180deg, #86efac, #22C55E); }
.tc-bars3d i:nth-child(2) { transition-delay: .08s; } .tc-bars3d i:nth-child(3) { transition-delay: .16s; } .tc-bars3d i:nth-child(4) { transition-delay: .24s; } .tc-bars3d i:nth-child(5) { transition-delay: .32s; }
.tc-iso[data-active="2"] .tc-bars3d i { --grow: 1; }
.tc-iso:not([data-active="2"]) .tc-bars3d i { --grow: .45; }

/* Data links: streams rising from one slab to the next */
.tc-slab-link {
  position: absolute; left: 50%; top: 50%; width: 6px; height: calc(118px - var(--lift)); margin-left: -3px;
  transform-origin: 50% 100%; transform: translateY(-100%) rotateX(-90deg);
  background: repeating-linear-gradient(0deg, rgba(74,222,128,.95) 0 6px, transparent 6px 16px);
  background-size: 100% 32px; border-radius: 3px; opacity: .85;
  animation: tcStream .8s linear infinite;
}
.tc-slab--2 .tc-slab-link { background-image: repeating-linear-gradient(0deg, rgba(96,165,250,.95) 0 6px, transparent 6px 16px); }
@keyframes tcStream { to { background-position: 0 -32px; } }

/* Upright labels beside each slab (counter-rotated to face the viewer) */
.tc-slab-label {
  position: absolute; left: 0; top: 0;
  transform-origin: 0 0;
  transform: rotateZ(45deg) rotateX(-58deg) translate(calc(-100% - 30px), -50%);
  display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 14px; white-space: nowrap;
  background: #fff; border: 1px solid var(--border); box-shadow: 0 12px 30px rgba(15,23,42,.12);
  opacity: .55; transition: opacity .5s, box-shadow .5s, border-color .5s;
}
.tc-slab-label::before { content: ''; position: absolute; left: 100%; top: 50%; width: 30px; height: 1.5px; background: linear-gradient(90deg, #94a3b8, transparent); }
.tc-slab-label b { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: #f1f5f9; font: 800 12px 'Manrope'; color: var(--navy); transition: background .5s, color .5s; }
.tc-slab-label strong { display: block; font: 800 14px 'Manrope'; color: var(--navy); }
.tc-slab-label small { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--text); }
.tc-slab-label small i { width: 6px; height: 6px; border-radius: 50%; background: #cbd5e1; }
.tc-iso[data-active="0"] .tc-slab--1 .tc-slab-label,
.tc-iso[data-active="1"] .tc-slab--2 .tc-slab-label,
.tc-iso[data-active="2"] .tc-slab--3 .tc-slab-label { opacity: 1; border-color: rgba(37,99,235,.35); box-shadow: 0 16px 36px rgba(37,99,235,.2); }
.tc-iso[data-active="0"] .tc-slab--1 .tc-slab-label b,
.tc-iso[data-active="1"] .tc-slab--2 .tc-slab-label b,
.tc-iso[data-active="2"] .tc-slab--3 .tc-slab-label b { background: linear-gradient(135deg, #2563EB, #22C55E); color: #fff; }
.tc-iso[data-active="0"] .tc-slab--1 .tc-slab-label small i,
.tc-iso[data-active="1"] .tc-slab--2 .tc-slab-label small i,
.tc-iso[data-active="2"] .tc-slab--3 .tc-slab-label small i { background: #22C55E; animation: tcBlink 1.2s infinite; }
.tc-iso-legend { display: flex; gap: 8px; }
.tc-iso-legend b { padding: 7px 12px; border-radius: 999px; font: 700 12.5px 'Inter'; color: var(--text); background: #fff; border: 1px solid var(--border); transition: background .4s, color .4s, border-color .4s; }
.tc-iso-legend b.is-on { background: var(--navy); color: #fff; border-color: var(--navy); }

.tc-arch-steps { display: grid; }
.tc-layer { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 40px 0; opacity: .3; transition: opacity .6s ease; }
.tc-layer.is-active { opacity: 1; }
.tc-layer-num { font: 800 14px 'Manrope'; color: var(--blue); letter-spacing: .02em; margin-bottom: 12px; }
.tc-layer h3 { font-size: clamp(28px, 3vw, 42px); line-height: 1.06; letter-spacing: -.035em; color: var(--navy); margin-bottom: 14px; }
.tc-layer > p { font-size: 17px; line-height: 1.65; color: var(--text); max-width: 520px; }
.tc-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 28px; }
.tc-tags span { padding: 7px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--border); font-size: 13px; font-weight: 600; color: var(--navy); }

.tc-console { padding: 22px; border-radius: 24px; background: var(--tc-ink); color: #fff; box-shadow: 0 30px 60px rgba(15,23,42,.2); transform: translateY(20px) scale(.97); opacity: .6; transition: transform .8s var(--tc-ease), opacity .6s; }
.tc-layer.is-active .tc-console { transform: none; opacity: 1; }
.tc-console-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; font-size: 13.5px; color: rgba(255,255,255,.7); }
.tc-console-head > span:first-child { display: inline-flex; align-items: center; gap: 8px; }
.tc-console-head svg { width: 16px; height: 16px; color: var(--tc-green-l); }
.tc-live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--tc-green-l); }
.tc-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: tcBlink 1.4s infinite; }
.tc-row { display: grid; grid-template-columns: 130px 1fr 60px; align-items: center; gap: 14px; padding: 10px 0; border-top: 1px solid rgba(255,255,255,.07); font-size: 14px; color: rgba(255,255,255,.75); }
.tc-row span { display: inline-flex; align-items: center; gap: 8px; }
.tc-row span svg { width: 15px; height: 15px; color: var(--tc-blue-l); }
.tc-row strong { text-align: right; font-family: 'Manrope'; }
.tc-good { color: var(--tc-green-l); }
.tc-bar { height: 7px; border-radius: 7px; background: rgba(255,255,255,.08); overflow: hidden; }
.tc-bar i { display: block; height: 100%; width: 0; border-radius: 7px; background: linear-gradient(90deg, var(--tc-blue-l), var(--tc-green-l)); transition: width 1.4s var(--tc-ease) .2s; }
.tc-layer.is-active .tc-bar i { width: var(--v); }
.tc-wave { display: flex; align-items: center; gap: 4px; height: 54px; margin-top: 12px; }
.tc-wave i { flex: 1; height: 20%; border-radius: 3px; background: linear-gradient(180deg, var(--tc-green-l), rgba(74,222,128,.2)); animation: tcWave 1.2s ease-in-out infinite; }
.tc-wave i:nth-child(3n) { animation-delay: -.3s; } .tc-wave i:nth-child(3n+1) { animation-delay: -.6s; } .tc-wave i:nth-child(4n) { animation-delay: -.9s; } .tc-wave i:nth-child(5n) { animation-duration: 1.6s; }
@keyframes tcWave { 50% { height: 100%; } }

.tc-ai-id { display: inline-flex; align-items: center; gap: 10px; }
.tc-ai-id b { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: var(--blue); }
.tc-ai-id b svg { width: 18px; height: 18px; color: #fff !important; }
.tc-ai-id strong { display: block; font-size: 14px; color: #fff; }
.tc-ai-id small { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--tc-green-l); }
.tc-ai-id small i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.tc-chip { padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.08); font-size: 12px; }
.tc-msg { max-width: 85%; padding: 12px 15px; border-radius: 16px; font-size: 14.5px; line-height: 1.5; opacity: 0; transform: translateY(12px); transition: opacity .5s, transform .6s var(--tc-ease); }
.tc-msg--user { margin-left: auto; background: #22c55e; color: #052e16; font-weight: 600; border-bottom-right-radius: 5px; margin-bottom: 10px; }
.tc-msg--bot { display: flex; gap: 10px; background: rgba(255,255,255,.08); border-bottom-left-radius: 5px; }
.tc-msg--bot svg { flex: none; width: 18px; height: 18px; color: var(--tc-blue-l); margin-top: 2px; }
.tc-thinking { display: flex; gap: 4px; width: max-content; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.08); height: 0; padding-block: 0; opacity: 0; overflow: hidden; }
.tc-thinking i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.7); animation: tcDot 1s ease-in-out infinite; }
.tc-thinking i:nth-child(2) { animation-delay: .15s; } .tc-thinking i:nth-child(3) { animation-delay: .3s; }
@keyframes tcDot { 50% { transform: translateY(-4px); opacity: .4; } }
.tc-layer.is-active .tc-msg--user { opacity: 1; transform: none; transition-delay: .2s; }
.tc-layer.is-active .tc-thinking { animation: tcThink 1.3s .7s both; }
@keyframes tcThink { 0% { height: 0; padding-block: 0; opacity: 0; margin-bottom: 0; } 15%, 85% { height: 30px; padding-block: 12px; opacity: 1; margin-bottom: 10px; } 100% { height: 0; padding-block: 0; opacity: 0; margin-bottom: 0; } }
.tc-layer.is-active .tc-msg--bot { opacity: 1; transform: none; transition-delay: 2s; }

.tc-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tc-stats > div { padding: 14px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.07); }
.tc-stats small { display: block; font-size: 12px; color: rgba(255,255,255,.55); }
.tc-stats strong { display: block; margin: 4px 0 2px; font: 800 26px 'Manrope'; letter-spacing: -.02em; }
.tc-stats em { font-style: normal; font-size: 12px; color: var(--tc-green-l); }
.tc-chart { display: flex; align-items: flex-end; gap: 7px; height: 120px; margin-top: 16px; }
.tc-chart span { flex: 1; height: 0; border-radius: 7px 7px 3px 3px; background: linear-gradient(180deg, var(--tc-blue-l), rgba(96,165,250,.25)); transition: height 1s var(--tc-ease); }
.tc-chart span:last-child { background: linear-gradient(180deg, var(--tc-green-l), rgba(74,222,128,.25)); }
.tc-layer.is-active .tc-chart span { height: var(--h); }
.tc-chart span:nth-child(2) { transition-delay: .05s; } .tc-chart span:nth-child(3) { transition-delay: .1s; } .tc-chart span:nth-child(4) { transition-delay: .15s; } .tc-chart span:nth-child(5) { transition-delay: .2s; }
.tc-chart span:nth-child(6) { transition-delay: .25s; } .tc-chart span:nth-child(7) { transition-delay: .3s; } .tc-chart span:nth-child(8) { transition-delay: .35s; } .tc-chart span:nth-child(9) { transition-delay: .4s; } .tc-chart span:nth-child(10) { transition-delay: .45s; }

/* =====================================================================
   PIPELINE — a signal runs through the three steps
   ===================================================================== */
.tc-pipe { background: #fff; }
.tc-pipe-track { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.tc-pipe-beam { position: absolute; top: 44px; left: 16.66%; right: 16.66%; height: 4px; border-radius: 4px; background: #e2e8f0; }
.tc-pipe-beam i { position: absolute; top: 50%; left: 0; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 6px rgba(34,197,94,.2), 0 0 24px var(--green); opacity: 0; }
.tc-pipe-beam::after { content: ''; position: absolute; inset: 0; border-radius: 4px; background: linear-gradient(90deg, var(--blue), var(--green)); transform-origin: 0 50%; transform: scaleX(0); }
.tc-pipe-track.is-in .tc-pipe-beam i { animation: tcPacket 4.5s .4s ease-in-out infinite; }
.tc-pipe-track.is-in .tc-pipe-beam::after { animation: tcFill 4.5s .4s ease-in-out infinite; }
@keyframes tcPacket { 0% { left: 0; opacity: 0; } 6% { opacity: 1; } 80% { left: 100%; opacity: 1; } 90%, 100% { left: 100%; opacity: 0; } }
@keyframes tcFill { 0% { transform: scaleX(0); opacity: 1; } 80% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
.tc-pipe-step { position: relative; text-align: center; padding: 0 10px; }
.tc-pipe-icon { position: relative; z-index: 1; display: grid; place-items: center; width: 92px; height: 92px; margin: 0 auto 24px; border-radius: 28px; background: #fff; border: 1px solid var(--border); color: var(--navy); box-shadow: 0 14px 34px rgba(15,23,42,.08); }
.tc-pipe-icon svg { width: 32px; height: 32px; }
.tc-pipe-track.is-in .tc-pipe-icon { animation: tcStepLit 4.5s calc(.4s + var(--n) * 1.8s) ease-in-out infinite; }
@keyframes tcStepLit { 0%, 22%, 100% { background: #fff; color: var(--navy); border-color: var(--border); transform: none; box-shadow: 0 14px 34px rgba(15,23,42,.08); } 4%, 16% { background: var(--tc-ink); color: var(--tc-green-l); border-color: var(--tc-ink); transform: translateY(-6px) scale(1.06); box-shadow: 0 20px 40px rgba(34,197,94,.3); } }
.tc-pipe-step small { display: block; font: 800 13px 'Manrope'; color: var(--blue); }
.tc-pipe-step strong { display: block; margin: 8px 0; font: 800 22px 'Manrope'; letter-spacing: -.02em; color: var(--navy); }
.tc-pipe-step p { max-width: 300px; margin: 0 auto; font-size: 15.5px; line-height: 1.6; color: var(--text); }

/* =====================================================================
   FOUNDATION — cards with a cursor-following glowing border
   ===================================================================== */
.tc-found { background: var(--tc-ink); color: #fff; overflow: hidden; }
.tc-found::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(700px circle at 0% 0%, rgba(37,99,235,.25), transparent 60%), radial-gradient(600px circle at 100% 100%, rgba(34,197,94,.14), transparent 60%); }
.tc-found-grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; }
.tc-found-copy h2 { font-size: clamp(32px, 4.2vw, 54px); line-height: 1.04; letter-spacing: -.04em; color: #fff; margin-bottom: 18px; }
.tc-found-copy p { color: rgba(255,255,255,.7); font-size: 17px; line-height: 1.65; }
.tc-found-copy .tc-kicker { color: var(--tc-green-l); }
.tc-text-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 22px; font-weight: 700; color: var(--tc-blue-l); }
.tc-text-link svg { width: 16px; height: 16px; transition: transform .3s var(--tc-ease); }
.tc-text-link:hover svg { transform: translate(3px, -3px); }
.tc-found-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tc-glow-card {
  --x: -200px; --y: -200px;
  position: relative; padding: 28px; border-radius: 24px; border: 1px solid transparent;
  background: linear-gradient(var(--tc-ink-2), var(--tc-ink-2)) padding-box, radial-gradient(240px circle at var(--x) var(--y), #4ade80, rgba(96,165,250,.6) 35%, rgba(255,255,255,.1) 70%) border-box;
  transition: transform .4s var(--tc-ease);
}
.tc-glow-card::before { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(300px circle at var(--x) var(--y), rgba(96,165,250,.12), transparent 60%); }
.tc-glow-card:hover { transform: translateY(-4px); }
.tc-glow-card > span { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 20px; border-radius: 15px; background: rgba(34,197,94,.14); color: var(--tc-green-l); }
.tc-glow-card:nth-child(even) > span { background: rgba(37,99,235,.2); color: var(--tc-blue-l); }
.tc-glow-card > span svg { width: 22px; height: 22px; }
.tc-glow-card h3 { font-size: 19px; color: #fff; margin-bottom: 8px; }
.tc-glow-card p { font-size: 14.5px; line-height: 1.6; color: rgba(255,255,255,.62); }

/* =====================================================================
   ECOSYSTEM — hub with connections
   ===================================================================== */
.tc-eco { background: #f8fafc; }
.tc-eco-map { position: relative; height: 420px; max-width: 1000px; margin: 0 auto; }
.tc-eco-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.tc-eco-lines path { fill: none; stroke: #94a3b8; stroke-width: 1.5; stroke-dasharray: 6 7; vector-effect: non-scaling-stroke; opacity: 0; transition: opacity .8s ease .2s; animation: tcDash 1.2s linear infinite; }
.tc-eco-map.is-in .tc-eco-lines path { opacity: 1; stroke: var(--blue); }
.tc-eco-hub { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(.6); opacity: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; width: 150px; height: 150px; border-radius: 40px; background: var(--tc-ink); color: #fff; box-shadow: 0 30px 60px rgba(15,23,42,.25), 0 0 0 10px rgba(37,99,235,.08); transition: transform .8s cubic-bezier(.34,1.56,.64,1), opacity .5s; }
.tc-eco-map.is-in .tc-eco-hub { transform: translate(-50%, -50%); opacity: 1; }
.tc-eco-hub span { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: linear-gradient(135deg, var(--blue), var(--green)); font: 800 24px 'Manrope'; }
.tc-eco-hub strong { font: 700 15px 'Manrope'; }
.tc-eco-chip { position: absolute; left: var(--x); top: var(--y); display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--border); box-shadow: 0 14px 30px rgba(15,23,42,.08); font-size: 14.5px; font-weight: 600; color: var(--navy); white-space: nowrap; transform: translate(-50%, -50%) scale(.7); opacity: 0; transition: transform .7s cubic-bezier(.34,1.56,.64,1) var(--d), opacity .5s var(--d), box-shadow .3s, border-color .3s; }
.tc-eco-chip svg { width: 17px; height: 17px; color: var(--blue); }
.tc-eco-map.is-in .tc-eco-chip { transform: translate(-50%, -50%); opacity: 1; }
.tc-eco-chip:hover { border-color: var(--blue); box-shadow: 0 18px 36px rgba(37,99,235,.18); }

/* =====================================================================
   CTA — photo + terminal
   ===================================================================== */
.tc-cta-wrap { padding-top: 40px; }
.tc-cta { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; padding: 88px 72px; border-radius: 40px; color: #fff; background: var(--tc-ink); }
.tc-cta-bg { position: absolute; inset: 0; z-index: -2; background: url("images/tech-cta.jpg") center / cover no-repeat; transform: scale(1.1); transition: transform 1.6s var(--tc-ease); }
.tc-cta.is-in .tc-cta-bg { transform: scale(1); }
.tc-cta::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(7,13,26,.94) 0%, rgba(7,13,26,.85) 55%, rgba(7,13,26,.7) 100%); }
.tc-cta h2 { font-size: clamp(34px, 4.6vw, 60px); line-height: 1.02; letter-spacing: -.04em; color: #fff; margin-bottom: 18px; }
.tc-cta h2 em { font-style: normal; background: linear-gradient(90deg, var(--tc-blue-l), var(--tc-green-l)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tc-cta-copy > p { color: rgba(255,255,255,.75); font-size: 17.5px; line-height: 1.6; max-width: 480px; margin-bottom: 34px; }
.tc-term { border-radius: 20px; overflow: hidden; background: rgba(7,13,26,.85); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(12px); box-shadow: 0 30px 60px rgba(0,0,0,.4); }
.tc-term-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,.08); }
.tc-term-bar i { width: 11px; height: 11px; border-radius: 50%; background: #f87171; }
.tc-term-bar i:nth-child(2) { background: #fbbf24; } .tc-term-bar i:nth-child(3) { background: #4ade80; }
.tc-term-bar span { margin-left: 10px; font-size: 12px; color: rgba(255,255,255,.45); }
.tc-term-body { margin: 0; padding: 20px 22px 24px; min-height: 190px; font: 500 14.5px/1.9 ui-monospace, 'SF Mono', Menlo, monospace; color: rgba(255,255,255,.85); white-space: pre-wrap; }
.tc-term-body .ok { color: var(--tc-green-l); }
.tc-term-body .hl { color: var(--tc-blue-l); }
.tc-term-body .caret::after { content: '▋'; margin-left: 2px; animation: tcBlink 1s steps(1) infinite; color: var(--tc-green-l); }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1100px) {
  .tc-loop-inner { flex-direction: column; align-items: flex-start; }
  .tc-loop-chain { justify-content: flex-start; flex-wrap: wrap; }
}
@media (max-width: 1024px) {
  .tc-hero-layout { grid-template-columns: 1fr; gap: 56px; }
  .tc-net { margin: 0 auto; max-width: 480px; }
  .tc-found-grid, .tc-cta { grid-template-columns: 1fr; }
  .tc-cta { padding: 64px 48px; }
}
@media (max-width: 860px) {
  .tc-section { padding: 90px 0; }
  .tc-arch-layout { grid-template-columns: 1fr; gap: 0; }
  .tc-arch-sticky { top: 70px; height: auto; padding: 10px 0 6px; z-index: 2; background: linear-gradient(#f8fafc 88%, transparent); }
  .tc-iso { max-width: 230px; }
  .tc-slab-label { display: none; }
  .tc-iso-legend { display: none; }
  .tc-layer { min-height: 0; padding: 50px 0; }
  .tc-pipe-track { grid-template-columns: 1fr; gap: 44px; }
  .tc-pipe-beam { display: none; }
  .tc-pipe-track.is-in .tc-pipe-icon { animation-duration: 5.4s; }
  .tc-found-cards { grid-template-columns: 1fr; }
  .tc-eco-map { height: auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
  .tc-eco-lines { display: none; }
  .tc-eco-hub { position: relative; top: auto; left: auto; transform: scale(.6); width: 100%; height: auto; padding: 22px; flex-direction: row; border-radius: 24px; margin-bottom: 8px; }
  .tc-eco-map.is-in .tc-eco-hub { transform: none; }
  .tc-eco-chip { position: relative; left: auto; top: auto; transform: scale(.7); }
  .tc-eco-map.is-in .tc-eco-chip { transform: none; }
}
@media (max-width: 560px) {
  .tc-hero { padding-top: 120px; }
  .tc-hero-stats > div { padding: 0 16px; }
  .tc-hero-stats strong { font-size: 26px; }
  .tc-node { padding: 7px 10px 7px 7px; gap: 7px; }
  .tc-node > span { width: 30px; height: 30px; }
  .tc-node strong { font-size: 12px; }
  .tc-node small { display: none; }
  .tc-core strong { font-size: 12px; } .tc-core small { display: none; } .tc-core-logo { width: 34px; height: 34px; font-size: 15px; }
  .tc-loop-chain { gap: 6px; }
  .tc-loop-link { width: 16px; }
  .tc-loop-item { padding: 8px 12px; font-size: 13px; }
  .tc-row { grid-template-columns: 1fr 60px; }
  .tc-bar { display: none; }
  .tc-cta { padding: 56px 22px; border-radius: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  [data-tc-reveal] { opacity: 1; transform: none; }
  .tc-hero h1 .w > span { transform: none; }
  .tc-hero-scan { display: none; }
  .tc-msg { opacity: 1; transform: none; }
  .tc-bar i { width: var(--v); }
  .tc-chart span { height: var(--h); }
  .tc-eco-lines path, .tc-eco-hub, .tc-eco-chip { opacity: 1; }
}
