/* Shared JT app directory — matches the premium layered workspace language */
:root{--jt-directory-bg:#090d18;--jt-directory-panel:rgba(17,24,40,.88);--jt-directory-line:rgba(165,181,224,.15);--jt-directory-text:#f4f6ff;--jt-directory-muted:#a4aec4}
.jtw-platform-section{max-width:1320px;margin-inline:auto;padding:clamp(64px,8vw,108px) clamp(20px,5vw,72px);position:relative}
.jtw-platform-section:before{content:"";position:absolute;inset:8% 2% 4%;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at 12% 15%,rgba(145,125,255,.11),transparent 42%),radial-gradient(ellipse at 88% 78%,rgba(90,220,218,.08),transparent 38%)}
.jtw-platform-section .jtw-section-head{align-items:end;margin-bottom:30px}
.jtw-platform-section .jtw-section-head h2{letter-spacing:-.055em}
.jtw-platform-section .jtw-section-head p{max-width:430px;color:var(--jt-directory-muted)}
.jt-app-directory-grid,.app-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.jtw-platform-section .jtw-product,.app-grid .app-tile{position:relative;isolation:isolate;display:flex;flex-direction:column;min-height:250px;padding:22px;border:1px solid var(--jt-directory-line);border-radius:22px;overflow:hidden;text-decoration:none;color:var(--jt-directory-text);background:linear-gradient(145deg,rgba(23,32,52,.96),rgba(12,18,31,.97));box-shadow:0 16px 44px rgba(0,0,0,.16);transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease}
.jtw-platform-section .jtw-product:before,.app-grid .app-tile:before{content:"";position:absolute;z-index:-1;right:-58px;top:-75px;width:210px;height:210px;border-radius:50%;background:radial-gradient(circle,var(--app-a,var(--a,#a18aff)) 0,transparent 68%);opacity:.16;filter:blur(10px);transition:opacity .25s ease,transform .25s ease}
.jtw-platform-section .jtw-product:after,.app-grid .app-tile:after{content:"";position:absolute;inset:0;pointer-events:none;border-radius:inherit;background:linear-gradient(135deg,rgba(255,255,255,.055),transparent 38%);opacity:.8}
.jtw-platform-section .jtw-product:hover,.app-grid .app-tile:hover{transform:translateY(-5px);border-color:color-mix(in srgb,var(--app-a,var(--a,#a18aff)) 58%,white 8%);box-shadow:0 24px 55px rgba(0,0,0,.28)}
.jtw-platform-section .jtw-product:hover:before,.app-grid .app-tile:hover:before{opacity:.27;transform:scale(1.12)}
.jtw-platform-section .jtw-product-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:26px}
.jtw-platform-section .jtw-product-icon,.app-grid .tile-icon{display:grid;place-items:center;width:48px;height:48px;border:1px solid color-mix(in srgb,var(--app-a,var(--a,#a18aff)) 40%,transparent);border-radius:15px;color:#fff;background:linear-gradient(145deg,color-mix(in srgb,var(--app-a,var(--a,#a18aff)) 25%,#171d30),color-mix(in srgb,var(--app-b,var(--b,#62dfe5)) 12%,#111827));font-size:19px;font-weight:800;box-shadow:inset 0 1px rgba(255,255,255,.1),0 8px 24px rgba(0,0,0,.16)}
.jtw-platform-section .jtw-product-arrow{color:#c3cce0;font-size:18px;transition:transform .2s ease}
.jtw-platform-section .jtw-product:hover .jtw-product-arrow{transform:translate(3px,-3px)}
.jtw-platform-section .jtw-product-label,.app-grid .app-tile:before{letter-spacing:.16em}
.jtw-platform-section .jtw-product-label{margin-top:auto;color:var(--app-b,var(--b,#77dfe1));font:700 9px/1.4 ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.17em}
.jtw-platform-section .jtw-product h3,.app-grid .app-tile h3{margin:8px 0 7px;color:#f5f7ff;font-size:21px;line-height:1.2;letter-spacing:-.035em}
.jtw-platform-section .jtw-product p,.app-grid .app-tile p{margin:0 0 20px;color:#aeb8cd;font-size:13px;line-height:1.65}
.jtw-platform-section .jtw-product-link,.app-grid .tile-open{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:auto;padding-top:13px;border-top:1px solid rgba(165,181,224,.12);color:#e8eaff;font-size:12px;font-weight:700}
.jtw-platform-section .jtw-product-link b{color:var(--app-b,var(--b,#77dfe1));font-size:16px}
.app-grid .app-tile{min-height:240px;padding:22px}
.app-grid .app-tile .tile-icon{margin-bottom:22px}
.app-grid .app-tile h3{margin-top:0}
.app-grid .app-tile .tile-open{color:#e8eaff}
.app-grid .app-tile .tile-open:after{content:"→";color:var(--app-b,var(--b,#77dfe1));font-size:16px}
.jtw-platform-section .jtw-all-apps{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-top:22px;padding:18px 21px;border:1px solid var(--jt-directory-line);border-radius:17px;background:rgba(16,23,38,.72);color:var(--jt-directory-muted);font-size:13px}
.jtw-platform-section .jtw-all-apps a{color:#f2f3ff;text-decoration:none;font-weight:700}
.jtw-platform-section .jtw-all-apps a b{color:#8ce2e1;margin-left:8px}
@media(max-width:900px){.jt-app-directory-grid,.app-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:580px){.jt-app-directory-grid,.app-grid{grid-template-columns:1fr}.jtw-platform-section .jtw-product,.app-grid .app-tile{min-height:210px;padding:20px}.jtw-platform-section .jtw-all-apps{align-items:flex-start;flex-direction:column}}
@media(prefers-reduced-motion:reduce){.jtw-platform-section .jtw-product,.app-grid .app-tile,.jtw-platform-section .jtw-product:before,.app-grid .app-tile:before{transition:none}}
